public function DelegatableRolesInterface::getAllRoles in Role Delegation 8
Gets all roles apart from anonymous and authenticated.
Return value
\Drupal\user\RoleInterface[] An array of role objects.
1 method overrides DelegatableRolesInterface::getAllRoles()
- DelegatableRoles::getAllRoles in src/
DelegatableRoles.php - Gets all roles apart from anonymous and authenticated.
File
- src/
DelegatableRolesInterface.php, line 31
Class
- DelegatableRolesInterface
- Interface DelegatableRolesInterface.
Namespace
Drupal\role_delegationCode
public function getAllRoles();