public function PurchasableEntityTypeRepositoryInterface::getPurchasableEntityTypeLabels in Commerce Core 8.2
Builds a list of entity type labels suitable for a Form API options list.
Return value
array An array of purchasable entity type labels keyed by entity type ID.
1 method overrides PurchasableEntityTypeRepositoryInterface::getPurchasableEntityTypeLabels()
- PurchasableEntityTypeRepository::getPurchasableEntityTypeLabels in src/
PurchasableEntityTypeRepository.php - Builds a list of entity type labels suitable for a Form API options list.
File
- src/
PurchasableEntityTypeRepositoryInterface.php, line 24
Class
- PurchasableEntityTypeRepositoryInterface
- Provides an interface for methods to help loading purchasable entity types.
Namespace
Drupal\commerceCode
public function getPurchasableEntityTypeLabels();