You are here

public function MailchimpCampaign::isInitialized in Mailchimp 8

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

Returns whether or not the campaign data is initialized.

Return value

bool Whether or not the campaign data is initialized.

File

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

Class

MailchimpCampaign
Defines the MailchimpCampaign entity.

Namespace

Drupal\mailchimp_campaign\Entity

Code

public function isInitialized() {
  return isset($this->mc_data);
}