You are here

protected property Role::$is_admin in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/user/src/Entity/Role.php \Drupal\user\Entity\Role::is_admin
  2. 9 core/modules/user/src/Entity/Role.php \Drupal\user\Entity\Role::is_admin

An indicator whether the role has all permissions.

Type: bool

File

core/modules/user/src/Entity/Role.php, line 89

Class

Role
Defines the user role entity class.

Namespace

Drupal\user\Entity

Code

protected $is_admin;