Skip to content

Commit

Permalink
Merge pull request silverstripe#323 from creative-commoners/pulls/3/r…
Browse files Browse the repository at this point in the history
…eplace-extension-subclasses

API Replace Extension subclasses
  • Loading branch information
GuySartorelli authored Aug 28, 2024
2 parents 6b85981 + 788b897 commit 17a6224
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 17a6224

Please sign in to comment.