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

Breadcrumb

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

function RefinableCalculatedPermissions::removeItemsByScope

Overrides RefinableCalculatedPermissionsInterface::removeItemsByScope

File

core/lib/Drupal/Core/Session/RefinableCalculatedPermissions.php, line 47

Class

RefinableCalculatedPermissions
Represents a calculated set of permissions with cacheable metadata.

Namespace

Drupal\Core\Session

Code

public function removeItemsByScope(string $scope) : self {
    unset($this->items[$scope]);
    return $this;
}
RSS feed
Powered by Drupal