You are here

protected function EntityExportCsvSettings::getColumnsOptions in Entity Export CSV 8

Get the columns options.

Return value

array An array of columns options.

1 call to EntityExportCsvSettings::getColumnsOptions()
EntityExportCsvSettings::buildForm in src/Form/EntityExportCsvSettings.php
Form constructor.

File

src/Form/EntityExportCsvSettings.php, line 289

Class

EntityExportCsvSettings
Define entity export csv settings form.

Namespace

Drupal\entity_export_csv\Form

Code

protected function getColumnsOptions() {
  $options = [
    '1' => '1 column',
    '2' => '2 columns',
    '3' => '3 columns',
    '4' => '4 columns',
    '5' => '5 columns',
    '6' => '6 columns',
    '7' => '7 columns',
    '8' => '8 columns',
    '9' => '9 columns',
    '10' => '10 columns',
  ];
  return $options;
}