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

Breadcrumb

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

function 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;
RSS feed
Powered by Drupal