Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
cache_factory service core/core.services.yml Drupal\Core\Cache\CacheFactory
cache_prewarmer service core/core.services.yml Drupal\Core\PreWarm\CachePreWarmer
cache_router_rebuild_subscriber service core/core.services.yml Drupal\Core\EventSubscriber\CacheRouterRebuildSubscriber
cache_tags.invalidator service core/core.services.yml Drupal\Core\Cache\CacheTagsInvalidator
cache_tags.invalidator.checksum service core/core.services.yml Drupal\Core\Cache\DatabaseCacheTagsChecksum
cache_tags.preloader service core/core.services.yml Drupal\Core\Cache\EventSubscriber\CacheTagPreloadSubscriber
cache_test.info.yml file core/modules/system/tests/modules/cache_test/cache_test.info.yml core/modules/system/tests/modules/cache_test/cache_test.info.yml
cache_test.routing.yml file core/modules/system/tests/modules/cache_test/cache_test.routing.yml core/modules/system/tests/modules/cache_test/cache_test.routing.yml
CalculatedCacheContextInterface interface core/lib/Drupal/Core/Cache/Context/CalculatedCacheContextInterface.php Provides an interface for defining a calculated cache context service.
CalculatedCacheContextInterface.php file core/lib/Drupal/Core/Cache/Context/CalculatedCacheContextInterface.php
CalculatedCacheContextInterface::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/CalculatedCacheContextInterface.php Gets cacheability metadata for the context based on the parameter value.
CalculatedCacheContextInterface::getContext function core/lib/Drupal/Core/Cache/Context/CalculatedCacheContextInterface.php Returns the string representation of the cache context.
CalculatedCacheContextInterface::getLabel function core/lib/Drupal/Core/Cache/Context/CalculatedCacheContextInterface.php Returns the label of the cache context.
CalculatedPermissions class core/lib/Drupal/Core/Session/CalculatedPermissions.php Represents a calculated set of permissions with cacheable metadata.
CalculatedPermissions.php file core/lib/Drupal/Core/Session/CalculatedPermissions.php
CalculatedPermissions::__construct function core/lib/Drupal/Core/Session/CalculatedPermissions.php Constructs a new CalculatedPermissions.
CalculatedPermissionsInterface interface core/lib/Drupal/Core/Session/CalculatedPermissionsInterface.php Defines the calculated permissions interface.
CalculatedPermissionsInterface.php file core/lib/Drupal/Core/Session/CalculatedPermissionsInterface.php
CalculatedPermissionsInterface::getItem function core/lib/Drupal/Core/Session/CalculatedPermissionsInterface.php Retrieves a single calculated permission item from a given scope.
CalculatedPermissionsInterface::getItems function core/lib/Drupal/Core/Session/CalculatedPermissionsInterface.php Retrieves all of the calculated permission items, regardless of scope.
CalculatedPermissionsInterface::getItemsByScope function core/lib/Drupal/Core/Session/CalculatedPermissionsInterface.php Retrieves all of the calculated permission items for the given scope.
CalculatedPermissionsInterface::getScopes function core/lib/Drupal/Core/Session/CalculatedPermissionsInterface.php Retrieves all of the scopes that have items for them.
CalculatedPermissionsItem class core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php Represents a single entry for the calculated permissions.
CalculatedPermissionsItem.php file core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php
CalculatedPermissionsItem::getIdentifier function core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php Returns the identifier within the scope.
CalculatedPermissionsItem::getPermissions function core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php Returns the permissions for the calculated permissions item.
CalculatedPermissionsItem::getScope function core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php Returns the scope of the calculated permissions item.
CalculatedPermissionsItem::hasPermission function core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php Returns whether this item has a given permission.
CalculatedPermissionsItem::isAdmin function core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php Returns whether this item grants admin privileges in its scope.
CalculatedPermissionsItem::__construct function core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php Constructs a new CalculatedPermissionsItem.
CalculatedPermissionsItemInterface interface core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php Defines the calculated permissions item interface.
CalculatedPermissionsItemInterface.php file core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php
CalculatedPermissionsItemInterface::getIdentifier function core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php Returns the identifier within the scope.
CalculatedPermissionsItemInterface::getPermissions function core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php Returns the permissions for the calculated permissions item.
CalculatedPermissionsItemInterface::getScope function core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php Returns the scope of the calculated permissions item.
CalculatedPermissionsItemInterface::hasPermission function core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php Returns whether this item has a given permission.
CalculatedPermissionsItemInterface::isAdmin function core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php Returns whether this item grants admin privileges in its scope.
CalculatedPermissionsItemTest class core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php Tests the CalculatedPermissionsItem value object.
CalculatedPermissionsItemTest.php file core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php
CalculatedPermissionsItemTest::testConstructor function core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php Tests that the object values were set in the constructor.
CalculatedPermissionsItemTest::testHasPermission function core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php Tests the permission check when the admin flag is not set.
CalculatedPermissionsItemTest::testHasPermissionWithAdminFlag function core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php Tests the permission check when the admin flag is set.
CalculatedPermissionsTest class core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php Tests the CalculatedPermissions value object.
CalculatedPermissionsTest.php file core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php
CalculatedPermissionsTest::testConstructor function core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php Tests that the object values were set in the constructor.
CalculatedPermissionsTrait trait core/lib/Drupal/Core/Session/CalculatedPermissionsTrait.php Trait for \Drupal\Core\Session\CalculatedPermissionsInterface.
CalculatedPermissionsTrait.php file core/lib/Drupal/Core/Session/CalculatedPermissionsTrait.php
CalculatedPermissionsTrait::$items property core/lib/Drupal/Core/Session/CalculatedPermissionsTrait.php A list of calculated permission items, keyed by scope and identifier.
CalculatedPermissionsTrait::getItem function core/lib/Drupal/Core/Session/CalculatedPermissionsTrait.php
CalculatedPermissionsTrait::getItems function core/lib/Drupal/Core/Session/CalculatedPermissionsTrait.php

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