Skip to content

Commit

Permalink
API Set extension hook implementation visibility to protected
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed May 16, 2024
1 parent 83073da commit 4ffeb9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SiteTreeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
class SiteTreeExtension extends DataExtension
{
public function updateCMSActions(FieldList $actions)
protected function updateCMSActions(FieldList $actions)
{
// Add to campaign option if not-archived and has publish permission
if ((!$this->owner->isPublished() && !$this->owner->isOnDraft())
Expand Down

0 comments on commit 4ffeb9c

Please sign in to comment.