Skip to content

Commit

Permalink
API Replace Extension subclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Aug 20, 2024
1 parent b6e4fe3 commit 604f22b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/SiteTreeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\Forms\FieldList;
use SilverStripe\Forms\Tab;
use SilverStripe\ORM\DataExtension;
use SilverStripe\Security\Permission;
use SilverStripe\Core\Extension;

/**
* Handles adding the "Add to Campaign" button to a page's secondary actions menu
*
* @extends DataExtension<SiteTree>
* @extends Extension<SiteTree>
*/
class SiteTreeExtension extends DataExtension
class SiteTreeExtension extends Extension
{
protected function updateCMSActions(FieldList $actions)
{
Expand Down

0 comments on commit 604f22b

Please sign in to comment.