public function SimpleAccessViewsAccess::defineOptions in Simple Access 8.3
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 PluginBase::defineOptions
File
- src/
views/ access/ SimpleAccessViewsAccess.php, line 73
Class
- SimpleAccessViewsAccess
- Plugin annotation @ViewsAccess( id = "simple_access_group", title = @Translation("Simple Access Group"), help = @Translation("Will be available to all users.") )
Namespace
Drupal\simple_access\views\accessCode
public function defineOptions() {
$options = parent::defineOptions();
$options['groups'] = [
'default' => [],
];
}