function RoleInterface::isAdmin
Same name 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()
- 11.x 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();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.