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 28, 2024
1 parent 6b85981 commit 788b897
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 788b897

Please sign in to comment.