You are here

public function AddressBookInterface::allowsMultiple in Commerce Core 8.2

Gets whether a customer can have multiple profiles of this type.

Parameters

string $profile_type_id: The profile type ID.

Return value

bool TRUE if a customer can have multiple profiles of this type, FALSE otherwise.

1 method overrides AddressBookInterface::allowsMultiple()
AddressBook::allowsMultiple in modules/order/src/AddressBook.php
Gets whether a customer can have multiple profiles of this type.

File

modules/order/src/AddressBookInterface.php, line 36

Class

AddressBookInterface
Represents a customer's address book.

Namespace

Drupal\commerce_order

Code

public function allowsMultiple($profile_type_id);