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

Breadcrumb

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

function RefinableCalculatedPermissionsInterface::removeItem

Removes a single calculated permission item from a given scope.

Parameters

string $scope: (optional) The scope name to remove the item from, defaults to 'drupal'.

string|int $identifier: (optional) The scope identifier to remove the item from, defaults to 'drupal'.

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 37

Class

RefinableCalculatedPermissionsInterface
Defines the refinable calculated permissions interface.

Namespace

Drupal\Core\Session

Code

public function removeItem(string $scope = AccessPolicyInterface::SCOPE_DRUPAL, string|int $identifier = AccessPolicyInterface::SCOPE_DRUPAL) : self;
RSS feed
Powered by Drupal