protected function MaestroEngineActiveAssignments::defineOptions in Maestro 8.2
Same name and namespace in other branches
- 3.x src/Plugin/views/field/MaestroEngineActiveAssignments.php \Drupal\maestro\Plugin\views\field\MaestroEngineActiveAssignments::defineOptions()
Define the available options.
Return value
array Returns a set of options in an array.
Overrides FieldPluginBase::defineOptions
File
- src/
Plugin/ views/ field/ MaestroEngineActiveAssignments.php, line 32
Class
- MaestroEngineActiveAssignments
- Field handler to generate a list of assigned users/roles etc.
Namespace
Drupal\maestro\Plugin\views\fieldCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['show_how_assigned'] = [
'default' => '0',
];
$options['separator_text'] = [
'default' => ',',
];
return $options;
}