public function RoleInterface::isAdmin in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 75 - Contains \Drupal\user\RoleInterface.
Class
- RoleInterface
- Provides an interface defining a user role entity.
Namespace
Drupal\userCode
public function isAdmin();