public function MailchimpCampaign::setTemplate in Mailchimp 8
Same name and namespace in other branches
- 2.x modules/mailchimp_campaign/src/Entity/MailchimpCampaign.php \Drupal\mailchimp_campaign\Entity\MailchimpCampaign::setTemplate()
File
- modules/
mailchimp_campaign/ src/ Entity/ MailchimpCampaign.php, line 77
Class
- MailchimpCampaign
- Defines the MailchimpCampaign entity.
Namespace
Drupal\mailchimp_campaign\EntityCode
public function setTemplate($template) {
$this
->set('template', serialize($template));
}