protected function OpignoModuleFinished::defineOptions in Opigno module 8
Same name and namespace in other branches
- 3.x src/Plugin/views/field/OpignoModuleFinished.php \Drupal\opigno_module\Plugin\views\field\OpignoModuleFinished::defineOptions()
Information about options for all kinds of purposes will be held here.
'option_name' => array(
- 'default' => default value,
- 'contains' => (optional) array of items this contains, with its own
defaults, etc. If contains is set, the default will be ignored and
assumed to be array().
),
Return value
array Returns the options of this handler/plugin.
Overrides Date::defineOptions
File
- src/
Plugin/ views/ field/ OpignoModuleFinished.php, line 27
Class
- OpignoModuleFinished
- A handler to provide a field that is completely custom by the administrator.
Namespace
Drupal\opigno_module\Plugin\views\fieldCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['hide_alter_empty'] = [
'default' => FALSE,
];
return $options;
}