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

Breadcrumb

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

function RefinableCalculatedPermissionsInterface::merge

Merge another calculated permissions object into this one.

This merges (not replaces) all permissions and cacheable metadata.

Parameters

\Drupal\Core\Session\CalculatedPermissionsInterface $other: The other calculated permissions object to merge into this one.

Return value

self

1 method overrides RefinableCalculatedPermissionsInterface::merge()
RefinableCalculatedPermissions::merge in core/lib/Drupal/Core/Session/RefinableCalculatedPermissions.php
Merge another calculated permissions object into this one.

File

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

Class

RefinableCalculatedPermissionsInterface
Defines the refinable calculated permissions interface.

Namespace

Drupal\Core\Session

Code

public function merge(CalculatedPermissionsInterface $other) : self;
RSS feed
Powered by Drupal