You are here

protected function MaestroEngineActiveAssignments::defineOptions in Maestro 3.x

Same name and namespace in other branches
  1. 8.2 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\field

Code

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