protected function MaestroEngineCompletedTimestamp::defineOptions in Maestro 8.2
Same name and namespace in other branches
- 3.x 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\fieldCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['date_format'] = [
'default' => 'medium',
];
return $options;
}