Search for isAdmin

  1. Search 7.x for isAdmin
  2. Search 9.5.x for isAdmin
  3. Search 8.9.x for isAdmin
  4. Search 10.3.x for isAdmin
  5. Other projects
Title Object type File name Summary
AdminContext::isAdminRoute function core/lib/Drupal/Core/Routing/AdminContext.php Determines whether the active route is an admin one.
CalculatedPermissionsItem::isAdmin function core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php Returns whether this item grants admin privileges in its scope.
CalculatedPermissionsItemInterface::isAdmin function core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php Returns whether this item grants admin privileges in its scope.
LanguageNegotiationUserAdmin::isAdminPath function core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php Checks whether the given path is an administrative one.
Role::isAdmin function core/modules/user/src/Entity/Role.php Indicates that a role has all available permissions.
Role::setIsAdmin function core/modules/user/src/Entity/Role.php Sets the role to be an admin role.
RoleInterface::isAdmin function core/modules/user/src/RoleInterface.php Indicates that a role has all available permissions.
RoleInterface::setIsAdmin function core/modules/user/src/RoleInterface.php Sets the role to be an admin role.

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