function EntityPermissionsForm::create
Same name in other branches
- 9 core/modules/user/src/Form/EntityPermissionsForm.php \Drupal\user\Form\EntityPermissionsForm::create()
- 11.x core/modules/user/src/Form/EntityPermissionsForm.php \Drupal\user\Form\EntityPermissionsForm::create()
Overrides UserPermissionsForm::create
File
-
core/
modules/ user/ src/ Form/ EntityPermissionsForm.php, line 78
Class
- EntityPermissionsForm
- Provides the permissions administration form for a bundle.
Namespace
Drupal\user\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('user.permissions'), $container->get('entity_type.manager')
->getStorage('user_role'), $container->get('module_handler'), $container->get('config.manager'), $container->get('entity_type.manager'), $container->get('extension.list.module'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.