Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CalculatedPermissionsInterface.php

function CalculatedPermissionsInterface::getItemsByScope

Retrieves all of the calculated permission items for the given scope.

Parameters

string $scope: (optional) The scope name to get the item for, defaults to 'drupal'.

Return value

\Drupal\Core\Session\CalculatedPermissionsItemInterface[] A list of calculated permission items for the given scope.

File

core/lib/Drupal/Core/Session/CalculatedPermissionsInterface.php, line 50

Class

CalculatedPermissionsInterface
Defines the calculated permissions interface.

Namespace

Drupal\Core\Session

Code

public function getItemsByScope(string $scope = AccessPolicyInterface::SCOPE_DRUPAL) : array;
RSS feed
Powered by Drupal