diff --git a/src/Extension/FluentLeftAndMainExtension.php b/src/Extension/FluentLeftAndMainExtension.php index f274df67..26fbe681 100644 --- a/src/Extension/FluentLeftAndMainExtension.php +++ b/src/Extension/FluentLeftAndMainExtension.php @@ -21,7 +21,7 @@ class FluentLeftAndMainExtension extends Extension use FluentAdminTrait; use FluentBadgeTrait; - public function init() + protected function onInit() { Requirements::javascript("tractorcow/silverstripe-fluent:client/dist/js/fluent.js"); Requirements::css("tractorcow/silverstripe-fluent:client/dist/styles/fluent.css"); diff --git a/src/Extension/FluentSiteTreeExtension.php b/src/Extension/FluentSiteTreeExtension.php index 47df6b95..2dc6d0b0 100644 --- a/src/Extension/FluentSiteTreeExtension.php +++ b/src/Extension/FluentSiteTreeExtension.php @@ -44,7 +44,7 @@ class FluentSiteTreeExtension extends FluentVersionedExtension * * @param string &$tags */ - public function MetaTags(&$tags) + protected function updateMetaTags(&$tags) { $tags .= $this->owner->renderWith('FluentSiteTree_MetaTags'); }