You are here

public function TransactionTypeInterface::getBundles in Transaction 8

Gets the bundles of the target entity type.

Parameters

bool $applicable: (optional) If TRUE, get all the applicable bundles if none set.

Return value

string[] An array containing the applicable bundles. Empty array if none set and $applicable is FALSE (default), or all existent bundles for the target entity type if none was set and $applicable is TRUE.

1 method overrides TransactionTypeInterface::getBundles()
TransactionType::getBundles in src/Entity/TransactionType.php
Gets the bundles of the target entity type.

File

src/TransactionTypeInterface.php, line 65

Class

TransactionTypeInterface
Provides an interface defining a type of transaction.

Namespace

Drupal\transaction

Code

public function getBundles($applicable = FALSE);