function CalculatedPermissionsItemInterface::getPermissions

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php \Drupal\Core\Session\CalculatedPermissionsItemInterface::getPermissions()

Returns the permissions for the calculated permissions item.

Return value

string[] The permission names.

1 method overrides CalculatedPermissionsItemInterface::getPermissions()
CalculatedPermissionsItem::getPermissions in core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php
Returns the permissions for the calculated permissions item.

File

core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php, line 32

Class

CalculatedPermissionsItemInterface
Defines the calculated permissions item interface.

Namespace

Drupal\Core\Session

Code

public function getPermissions() : array;

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