function RoleSettingsForm::create
Same name in other branches
- 9 core/modules/user/src/Form/RoleSettingsForm.php \Drupal\user\Form\RoleSettingsForm::create()
- 10 core/modules/user/src/Form/RoleSettingsForm.php \Drupal\user\Form\RoleSettingsForm::create()
Overrides FormBase::create
File
-
core/
modules/ user/ src/ Form/ RoleSettingsForm.php, line 36
Class
- RoleSettingsForm
- Configure administrator role settings for this site.
Namespace
Drupal\user\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('entity_type.manager')
->getStorage('user_role'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.