You are here

protected function FieldTypeExportBase::getFormatExportOptions in Entity Export CSV 8

Get the format options to export.

Parameters

\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition.

Return value

array An array of format options.

8 calls to FieldTypeExportBase::getFormatExportOptions()
DateRangeExport::getFormatExportOptions in src/Plugin/FieldTypeExport/DateRangeExport.php
Get the format options to export.
DateTimeExport::getFormatExportOptions in src/Plugin/FieldTypeExport/DateTimeExport.php
Get the format options to export.
EntityReferenceExport::getFormatExportOptions in src/Plugin/FieldTypeExport/EntityReferenceExport.php
Get the format options to export.
FieldTypeExportBase::buildConfigurationForm in src/Plugin/FieldTypeExportBase.php
Build the configuration form.
FileExport::getFormatExportOptions in src/Plugin/FieldTypeExport/FileExport.php
Get the format options to export.

... See full list

7 methods override FieldTypeExportBase::getFormatExportOptions()
DateRangeExport::getFormatExportOptions in src/Plugin/FieldTypeExport/DateRangeExport.php
Get the format options to export.
DateTimeExport::getFormatExportOptions in src/Plugin/FieldTypeExport/DateTimeExport.php
Get the format options to export.
EntityReferenceExport::getFormatExportOptions in src/Plugin/FieldTypeExport/EntityReferenceExport.php
Get the format options to export.
FileExport::getFormatExportOptions in src/Plugin/FieldTypeExport/FileExport.php
Get the format options to export.
LinkExport::getFormatExportOptions in src/Plugin/FieldTypeExport/LinkExport.php
Get the format options to export.

... See full list

File

src/Plugin/FieldTypeExportBase.php, line 602

Class

FieldTypeExportBase
Base class for Field type export plugins.

Namespace

Drupal\entity_export_csv\Plugin

Code

protected function getFormatExportOptions(FieldDefinitionInterface $field_definition) {
  $options = [];
  $options[''] = $this
    ->t('None');
  return $options;
}