protected function Group::defineOptions in Organic groups 8
Retrieve the options when this is a new access control plugin
Overrides ArgumentDefaultPluginBase::defineOptions
File
- src/
Plugin/ views/ argument_default/ Group.php, line 65
Class
- Group
- Default argument plugin to provide the group from the current context.
Namespace
Drupal\og\Plugin\views\argument_defaultCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['og_group_context'] = [
'default' => '',
];
return $options;
}