function UserPermissionsModuleSpecificForm::permissionsByProvider
Same name in other branches
- 9 core/modules/user/src/Form/UserPermissionsModuleSpecificForm.php \Drupal\user\Form\UserPermissionsModuleSpecificForm::permissionsByProvider()
- 11.x core/modules/user/src/Form/UserPermissionsModuleSpecificForm.php \Drupal\user\Form\UserPermissionsModuleSpecificForm::permissionsByProvider()
Overrides UserPermissionsForm::permissionsByProvider
File
-
core/
modules/ user/ src/ Form/ UserPermissionsModuleSpecificForm.php, line 28
Class
- UserPermissionsModuleSpecificForm
- Provides the user permissions administration form for one or more module(s).
Namespace
Drupal\user\FormCode
protected function permissionsByProvider() : array {
return array_intersect_key(parent::permissionsByProvider(), array_flip($this->moduleList));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.