You are here

public function MailchimpCampaign::getTemplate in Mailchimp 2.x

Same name and namespace in other branches
  1. 8 modules/mailchimp_campaign/src/Entity/MailchimpCampaign.php \Drupal\mailchimp_campaign\Entity\MailchimpCampaign::getTemplate()

File

modules/mailchimp_campaign/src/Entity/MailchimpCampaign.php, line 56

Class

MailchimpCampaign
Defines the MailchimpCampaign entity.

Namespace

Drupal\mailchimp_campaign\Entity

Code

public function getTemplate() {
  return unserialize($this
    ->get('template')->value);
}