You are here

public function CustomerHandlerInterface::loadCustomerId in Mailchimp E-Commerce 8

Loads the existing customer id or creates a new one.

Parameters

array $customer: The customer.

Return value

int $customer_id The customer id.

1 method overrides CustomerHandlerInterface::loadCustomerId()
CustomerHandler::loadCustomerId in src/CustomerHandler.php
@inheritdoc

File

src/CustomerHandlerInterface.php, line 49

Class

CustomerHandlerInterface
Interface for the Customer handler.

Namespace

Drupal\mailchimp_ecommerce

Code

public function loadCustomerId($customer);