public function RoleInterface::isAdmin in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/src/RoleInterface.php \Drupal\user\RoleInterface::isAdmin()
- 10 core/modules/user/src/RoleInterface.php \Drupal\user\RoleInterface::isAdmin()
Indicates that a role has all available permissions.
Return value
bool TRUE if the role has all permissions.
1 method overrides RoleInterface::isAdmin()
- Role::isAdmin in core/
modules/ user/ src/ Entity/ Role.php - Indicates that a role has all available permissions.
File
- core/
modules/ user/ src/ RoleInterface.php, line 70
Class
- RoleInterface
- Provides an interface defining a user role entity.
Namespace
Drupal\userCode
public function isAdmin();