You are here

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\commerce

Code

public function getPurchasableEntityTypeLabels();