function CalculatedPermissionsTrait::getScopes

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

File

core/lib/Drupal/Core/Session/CalculatedPermissionsTrait.php, line 38

Class

CalculatedPermissionsTrait
Trait for \Drupal\Core\Session\CalculatedPermissionsInterface.

Namespace

Drupal\Core\Session

Code

public function getScopes() : array {
    return array_keys($this->items);
}

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