function RefinableCalculatedPermissionsInterface::removeItem

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

Removes a single calculated permission item from a given scope.

Parameters

string $scope: The scope name to remove the item from.

string|int $identifier: The scope identifier to remove the item from.

Return value

self

1 method overrides RefinableCalculatedPermissionsInterface::removeItem()
RefinableCalculatedPermissions::removeItem in core/lib/Drupal/Core/Session/RefinableCalculatedPermissions.php
Removes a single calculated permission item from a given scope.

File

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

Class

RefinableCalculatedPermissionsInterface
Defines the refinable calculated permissions interface.

Namespace

Drupal\Core\Session

Code

public function removeItem(string $scope, string|int $identifier) : self;

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