You are here

protected function MaestroEngineProcessCompletionTime::defineOptions in Maestro 3.x

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

Define the available options.

Return value

array The array of options.

Overrides FieldPluginBase::defineOptions

File

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

Class

MaestroEngineProcessCompletionTime
Field handler to translate the unixtime timestamp to a human readable format if you so choose to.

Namespace

Drupal\maestro\Plugin\views\field

Code

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