You are here

protected function FieldTypeExportBase::getPropertyColumnSeparatorOptions in Entity Export CSV 8

Get the property separator options.

Return value

array The property separator options.

1 call to FieldTypeExportBase::getPropertyColumnSeparatorOptions()
FieldTypeExportBase::buildConfigurationForm in src/Plugin/FieldTypeExportBase.php
Build the configuration form.

File

src/Plugin/FieldTypeExportBase.php, line 614

Class

FieldTypeExportBase
Base class for Field type export plugins.

Namespace

Drupal\entity_export_csv\Plugin

Code

protected function getPropertyColumnSeparatorOptions() {
  $options = [];
  $options['|'] = $this
    ->t('Separator pipe ( | )');
  $options[''] = $this
    ->t('Separator blank ( )');
  $options['-'] = $this
    ->t('Separator dash ( - )');
  $options['_'] = $this
    ->t('Separator underscore ( _ )');
  $options['eol'] = $this
    ->t('Separator end of line ( EOL )');
  return $options;
}