public function AddressBookInterface::loadTypes in Commerce Core 8.2
Loads the profile types used by the address book.
Only customer profile types are included.
Return value
\Drupal\profile\Entity\ProfileTypeInterface[] The profile types, keyed by profile type ID.
1 method overrides AddressBookInterface::loadTypes()
- AddressBook::loadTypes in modules/
order/ src/ AddressBook.php - Loads the profile types used by the address book.
File
- modules/
order/ src/ AddressBookInterface.php, line 57
Class
- AddressBookInterface
- Represents a customer's address book.
Namespace
Drupal\commerce_orderCode
public function loadTypes();