public RoleInterface::isAdmin()
Indicates that a role has all available permissions.
Return value
bool TRUE if the role has all permissions.
File
- core/modules/user/src/RoleInterface.php, line 70
Class
- RoleInterface
- Provides an interface defining a user role entity.
Namespace
Drupal\user
Code
public function isAdmin();
Please login to continue.