Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Deprecate campaign admin integrations #1514

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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