You are here

public function EntityExportCsvManagerInterface::getBundleFieldsEnabled in Entity Export CSV 8

Get the fields enabled 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::getBundleFieldsEnabled()
EntityExportCsvManager::getBundleFieldsEnabled in src/EntityExportCsvManager.php
Get the fields enabled as options given an entity type and a bundle.

File

src/EntityExportCsvManagerInterface.php, line 96

Class

EntityExportCsvManagerInterface
Interface EntityExportCsvManagerInterface.

Namespace

Drupal\entity_export_csv

Code

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