function CalculatedPermissionsItem::getIdentifier

Returns the identifier within the scope.

Return value

string|int The identifier.

Overrides CalculatedPermissionsItemInterface::getIdentifier

File

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

Class

CalculatedPermissionsItem
Represents a single entry for the calculated permissions.

Namespace

Drupal\Core\Session

Code

public function getIdentifier() : string|int {
  return $this->identifier;
}

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