You are here

protected function MaestroEngineStartedTimestamp::defineOptions in Maestro 8.2

Same name and namespace in other branches
  1. 3.x src/Plugin/views/field/MaestroEngineStartedTimestamp.php \Drupal\maestro\Plugin\views\field\MaestroEngineStartedTimestamp::defineOptions()

Define the available options.

Return value

array The array of options.

Overrides FieldPluginBase::defineOptions

File

src/Plugin/views/field/MaestroEngineStartedTimestamp.php, line 31

Class

MaestroEngineStartedTimestamp
Field handler to generate started timestamp.

Namespace

Drupal\maestro\Plugin\views\field

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['date_format'] = [
    'default' => 'medium',
  ];
  return $options;
}