protected function User::defineOptions in Zircon Profile 8
Same name in this branch
- 8 core/modules/user/src/Plugin/views/argument_default/User.php \Drupal\user\Plugin\views\argument_default\User::defineOptions()
- 8 core/modules/user/src/Plugin/views/argument_validator/User.php \Drupal\user\Plugin\views\argument_validator\User::defineOptions()
Same name and namespace in other branches
- 8.0 core/modules/user/src/Plugin/views/argument_default/User.php \Drupal\user\Plugin\views\argument_default\User::defineOptions()
Retrieve the options when this is a new access control plugin
Overrides ArgumentDefaultPluginBase::defineOptions
File
- core/
modules/ user/ src/ Plugin/ views/ argument_default/ User.php, line 70 - Contains \Drupal\user\Plugin\views\argument_default\User.
Class
- User
- Default argument plugin to extract a user from request.
Namespace
Drupal\user\Plugin\views\argument_defaultCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['user'] = array(
'default' => '',
);
return $options;
}