function CalculatedPermissionsInterface::getScopes

Same name in other branches
  1. 10 core/lib/Drupal/Core/Session/CalculatedPermissionsInterface.php \Drupal\Core\Session\CalculatedPermissionsInterface::getScopes()

Retrieves all of the scopes that have items for them.

Return value

string[] The scope names that are in use.

File

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

Class

CalculatedPermissionsInterface
Defines the calculated permissions interface.

Namespace

Drupal\Core\Session

Code

public function getScopes() : array;

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