You are here

protected function MaestroEngineCompletedTimestamp::defineOptions in Maestro 3.x

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

Define the available options.

Return value

array The options available.

Overrides FieldPluginBase::defineOptions

File

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

Class

MaestroEngineCompletedTimestamp
Field handler to generate completed timestamp.

Namespace

Drupal\maestro\Plugin\views\field

Code

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