Skip to content

Commit

Permalink
Merge pull request #1514 from creative-commoners/pulls/2/depr-campaig…
Browse files Browse the repository at this point in the history
…n-admin

API Deprecate campaign admin integrations
  • Loading branch information
GuySartorelli authored Nov 26, 2024
2 parents 333b9ac + a124e17 commit e8f0f68
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/Extensions/CampaignAdminExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,23 @@
use SilverStripe\Core\Extension;
use SilverStripe\Forms\FormAction;
use SilverStripe\Security\Permission;
use SilverStripe\Dev\Deprecation;

/**
* Extension that updates the Popover menu of `FileFormFactory`.
* This extension will only be applied if the `campaign-admin` module is installed.
*
* @extends Extension<FileFormFactory>
* @deprecated 2.4.0 Will be removed without equivalent functionality to replace it
*/
class CampaignAdminExtension extends Extension
{
public function __construct()
{
Deprecation::noticeWithNoReplacment('2.4.0', scope: Deprecation::SCOPE_CLASS);
parent::__construct();
}

/**
* Update the Popover menu of `FileFormFactory` with the "Add to campaign" button.
*
Expand Down

0 comments on commit e8f0f68

Please sign in to comment.