function CalculatedPermissionsItemInterface::getScope

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php \Drupal\Core\Session\CalculatedPermissionsItemInterface::getScope()

Returns the scope of the calculated permissions item.

Return value

string The scope name.

1 method overrides CalculatedPermissionsItemInterface::getScope()
CalculatedPermissionsItem::getScope in core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php
Returns the scope of the calculated permissions item.

File

core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php, line 16

Class

CalculatedPermissionsItemInterface
Defines the calculated permissions item interface.

Namespace

Drupal\Core\Session

Code

public function getScope() : string;

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