protected UserPermissionsForm::getRoles()
Gets the roles to display in this form.
Return value
\Drupal\user\RoleInterface[] An array of role objects.
File
- core/modules/user/src/Form/UserPermissionsForm.php, line 78
Class
- UserPermissionsForm
- Provides the user permissions administration form.
Namespace
Drupal\user\Form
Code
protected function getRoles() { return $this->roleStorage->loadMultiple(); }
Please login to continue.