You are here

function mailchimp_ecommerce_get_list_id in Mailchimp E-Commerce 8

Same name and namespace in other branches
  1. 7 mailchimp_ecommerce.module \mailchimp_ecommerce_get_list_id()

Get the List/Audience ID being used.

Return value

string The List/Audience ID.

3 calls to mailchimp_ecommerce_get_list_id()
ContactSubscription::submitPaneForm in modules/mailchimp_ecommerce_commerce/src/Plugin/Commerce/CheckoutPane/ContactSubscription.php
Handles the submission of an pane form.
CustomerHandler::buildCustomer in src/CustomerHandler.php
@inheritdoc
OrderHandler::buildUberOrder in src/OrderHandler.php
@inheritdoc

File

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

Code

function mailchimp_ecommerce_get_list_id() {
  return \Drupal::config('mailchimp_ecommerce.settings')
    ->get('mailchimp_ecommerce_list_id');
}