public function MailchimpEcommerceHelper::isEnabled in Mailchimp E-Commerce 8
Determines if a Mailchimp eCommerce integration is enabled.
Return value
bool TRUE if an integration is enabled.
File
- src/
MailchimpEcommerceHelper.php, line 159
Class
- MailchimpEcommerceHelper
- Class MailchimpEcommerceHelper.
Namespace
Drupal\mailchimp_ecommerceCode
public function isEnabled() {
return $this->config
->get('mailchimp_ecommerce_integration') !== '';
}