You are here

public function EntityExportCsvManagerInterface::getBundleFieldDefinitions in Entity Export CSV 8

Get the fields definitions given an entity type and a bundle.

Parameters

string $entity_type_id: The entity type id.

string $bundle: The bundle id.

Return value

array|\Drupal\Core\Field\FieldDefinitionInterface[] An array of field label or field definition, keyed by the field name.

1 method overrides EntityExportCsvManagerInterface::getBundleFieldDefinitions()
EntityExportCsvManager::getBundleFieldDefinitions in src/EntityExportCsvManager.php
Get the fields definitions given an entity type and a bundle.

File

src/EntityExportCsvManagerInterface.php, line 109

Class

EntityExportCsvManagerInterface
Interface EntityExportCsvManagerInterface.

Namespace

Drupal\entity_export_csv

Code

public function getBundleFieldDefinitions($entity_type_id, $bundle);