SilverStripe\CampaignAdmin\AddToCampaignHandler::addToCampaign
Performs the actual action of adding the object to the ChangeSet, once the ChangeSet ID is known
Signature
public function addToCampaign(DataObject
$object,
array|int
$data )
Parameters
$object
— object- The object to add to the ChangeSet
$data
— object- Post data for this campaign form, or the ID of the campaign to add to
Returns
- HTTPResponse