function CalculatedPermissionsItem::isAdmin

Same name in other branches
  1. 10 core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php \Drupal\Core\Session\CalculatedPermissionsItem::isAdmin()

Overrides CalculatedPermissionsItemInterface::isAdmin

1 call to CalculatedPermissionsItem::isAdmin()
CalculatedPermissionsItem::hasPermission in core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php
Returns whether this item has a given permission.

File

core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php, line 57

Class

CalculatedPermissionsItem
Represents a single entry for the calculated permissions.

Namespace

Drupal\Core\Session

Code

public function isAdmin() : bool {
    return $this->isAdmin;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.