function RefinableCalculatedPermissionsInterface::removeItemsByScope

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Session/RefinableCalculatedPermissionsInterface.php \Drupal\Core\Session\RefinableCalculatedPermissionsInterface::removeItemsByScope()

Removes all of the calculated permission items for the given scope.

Parameters

string $scope: The scope name to remove the items for.

Return value

self

1 method overrides RefinableCalculatedPermissionsInterface::removeItemsByScope()
RefinableCalculatedPermissions::removeItemsByScope in core/lib/Drupal/Core/Session/RefinableCalculatedPermissions.php
Removes all of the calculated permission items for the given scope.

File

core/lib/Drupal/Core/Session/RefinableCalculatedPermissionsInterface.php, line 54

Class

RefinableCalculatedPermissionsInterface
Defines the refinable calculated permissions interface.

Namespace

Drupal\Core\Session

Code

public function removeItemsByScope(string $scope) : self;

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