Skip to content

Commit

Permalink
API Standardise extension hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Aug 18, 2024
1 parent 07fee74 commit ea8c34e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Extension/FluentLeftAndMainExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion src/Extension/FluentSiteTreeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit ea8c34e

Please sign in to comment.