You are here

public function RoleInterface::isAdmin in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/user/src/RoleInterface.php \Drupal\user\RoleInterface::isAdmin()
  2. 9 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\user

Code

public function isAdmin();