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\SessionCode
public function merge(CalculatedPermissionsInterface $other) : self;