function CalculatedPermissionsItemInterface::isAdmin
Same name in other branches
- 11.x core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php \Drupal\Core\Session\CalculatedPermissionsItemInterface::isAdmin()
Returns whether this item grants admin privileges in its scope.
Return value
bool Whether this item grants admin privileges.
1 method overrides CalculatedPermissionsItemInterface::isAdmin()
- CalculatedPermissionsItem::isAdmin in core/
lib/ Drupal/ Core/ Session/ CalculatedPermissionsItem.php - Returns whether this item grants admin privileges in its scope.
File
-
core/
lib/ Drupal/ Core/ Session/ CalculatedPermissionsItemInterface.php, line 40
Class
- CalculatedPermissionsItemInterface
- Defines the calculated permissions item interface.
Namespace
Drupal\Core\SessionCode
public function isAdmin() : bool;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.