You are here

function mailchimp_ecommerce_get_store_id in Mailchimp E-Commerce 8

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

Gets the store ID of the Mailchimp eCommerce integration.

Return value

string The store ID.

12 calls to mailchimp_ecommerce_get_store_id()
CustomerHandler::addOrUpdateCustomer in src/CustomerHandler.php
@inheritdoc
CustomerHandler::deleteCustomer in src/CustomerHandler.php
@inheritdoc
CustomerHandler::getCustomer in src/CustomerHandler.php
@inheritdoc
OrderHandler::addOrder in src/OrderHandler.php
@inheritdoc
OrderHandler::getOrder in src/OrderHandler.php
@inheritdoc

... See full list

File

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

Code

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