protected function Role::defineOptions in Views (for Drupal 7) 8.3
Retrieve the options when this is a new access control plugin
Overrides AccessPluginBase::defineOptions
File
- lib/
Views/ user/ Plugin/ views/ access/ Role.php, line 56 - Definition of Views\user\Plugin\views\access\Role.
Class
- Role
- Access plugin that provides role-based access control.
Namespace
Views\user\Plugin\views\accessCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['role'] = array(
'default' => array(),
);
return $options;
}