You are here

function mailchimp_ecommerce_is_enabled in Mailchimp E-Commerce 8

Determines if a Mailchimp eCommerce integration is enabled.

Return value

bool TRUE if an integration is enabled.

File

./mailchimp_ecommerce.module, line 55
Mailchimp eCommerce core functionality.

Code

function mailchimp_ecommerce_is_enabled() {
  return \Drupal::service('mailchimp_ecommerce.helper')
    ->isEnabled();
}