You are here

public function EntityExportCsvManagerInterface::getBundlesPerEntityType in Entity Export CSV 8

Gets the bundles of an entity type.

Parameters

string $entity_type_id: The entity type id.

bool $return_label: Should we return the array with the label as value ?

Return value

array An array of bundles.

1 method overrides EntityExportCsvManagerInterface::getBundlesPerEntityType()
EntityExportCsvManager::getBundlesPerEntityType in src/EntityExportCsvManager.php
Gets the bundles of an entity type.

File

src/EntityExportCsvManagerInterface.php, line 53

Class

EntityExportCsvManagerInterface
Interface EntityExportCsvManagerInterface.

Namespace

Drupal\entity_export_csv

Code

public function getBundlesPerEntityType($entity_type_id, $return_label = TRUE);