public function EntityExportCsvFieldsEvent::__construct in Entity Export CSV 8
Constructs a new EntityExportCsvFieldsSupportedEvent.
Parameters
array $fields: The fields supported.
string $entity_type_id: The entity type id.
string $bundle: The bundle.
bool $return_field_definition: Return the field definition or the label if false.
File
- src/
Event/ EntityExportCsvFieldsEvent.php, line 56
Class
- EntityExportCsvFieldsEvent
- Defines the fields event.
Namespace
Drupal\entity_export_csv\EventCode
public function __construct(array $fields, $entity_type_id, $bundle, $return_field_definition) {
$this->fields = $fields;
$this->entity_type_id = $entity_type_id;
$this->bundle = $bundle;
$this->returnFieldDefinition = $return_field_definition;
}