You are here

public function EntityExportCsvManagerInterface::getBundleFields in Entity Export CSV 8

Get the fields as options given an entity type and a bundle.

Parameters

string $entity_type_id: The entity type id.

string $bundle: The bundle.

bool $return_field_definition: Return the field definitions or label.

Return value

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

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

File

src/EntityExportCsvManagerInterface.php, line 81

Class

EntityExportCsvManagerInterface
Interface EntityExportCsvManagerInterface.

Namespace

Drupal\entity_export_csv

Code

public function getBundleFields($entity_type_id, $bundle, $return_field_definition = FALSE);