/**
  * Get action for adding to campaign
  *
  * @param File $record
  * @return FormAction|null
  */
 protected function getAddToCampaignAction($record)
 {
     if ($record && $record->canPublish()) {
         return FormAction::create('addtocampaign', _t('SilverStripe\\AssetAdmin\\Controller\\AssetAdmin.ADDTOCAMPAIGN', 'Add to campaign'));
     }
     return null;
 }