function RefinableCalculatedPermissionsInterface::merge
Same name in other branches
- 10 core/lib/Drupal/Core/Session/RefinableCalculatedPermissionsInterface.php \Drupal\Core\Session\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;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.