Search for context
- Search 7.x for context
- Search 9.5.x for context
- Search 8.9.x for context
- Search 11.x for context
- Other projects
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Context | class | core/ |
A Drupal specific context wrapper class. |
Context | class | core/ |
A generic context class for wrapping data a plugin needs to operate. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
TranslationLanguageRenderer::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
TwigComponentLoader::getSourceContext | function | core/ |
|
TwigExtension::addAdditionalContext | function | core/ |
Appends additional context to the template based on the template id. |
TwigExtension::mergeAdditionalRenderContext | function | core/ |
Calculates additional context for this template. |
TypedData::setContext | function | core/ |
Sets the context of a property or item via a context aware parent. |
TypedDataInterface::setContext | function | core/ |
Sets the context of a property or item via a context aware parent. |
UncacheableDependencyTrait::getCacheContexts | function | core/ |
|
UnchangingCacheableDependencyTrait::getCacheContexts | function | core/ |
|
UrlCacheContext | class | core/ |
Defines the UrlCacheContext service, for "per page" caching. |
UrlCacheContext.php | file | core/ |
|
UrlCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
UrlCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
UrlCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
UrlGenerator::$context | property | core/ |
|
UrlGenerator::getContext | function | core/ |
|
UrlGenerator::setContext | function | core/ |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
UrlGeneratorTest::$context | property | core/ |
The request context. |
user.current_user_context | service | core/ |
Drupal\user\ContextProvider\CurrentUserContext |
user.links.contextual.yml | file | core/ |
core/modules/user/user.links.contextual.yml |
User::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
UserCacheContext | class | core/ |
Defines the UserCacheContext service, for "per user" caching. |
UserCacheContext.php | file | core/ |
|
UserCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
UserCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
UserCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
UserCacheContextBase | class | core/ |
Base class for user-based cache contexts. |
UserCacheContextBase.php | file | core/ |
|
UserCacheContextBase::$user | property | core/ |
The account object. |
UserCacheContextBase::__construct | function | core/ |
Constructs a new UserCacheContextBase class. |
UserContextAccessPolicy | class | core/ |
|
UserContextAccessPolicy::applies | function | core/ |
Checks whether this access policy applies to a given scope. |
UserContextAccessPolicy::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
UserResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
UserRole::getCacheContexts | function | core/ |
|
UserRolesAccessPolicy::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
UserRolesAccessPolicyTest::testGetPersistentCacheContexts | function | core/ |
Tests the getPersistentCacheContexts method. |
UserRolesCacheContext | class | core/ |
Defines the UserRolesCacheContext service, for "per role" caching. |
UserRolesCacheContext.php | file | core/ |
|
UserRolesCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context based on the parameter value. |
UserRolesCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
UserRolesCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
UserRolesCacheContextTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\Context\UserRolesCacheContext @group Cache |
UserRolesCacheContextTest.php | file | core/ |
|
UserRolesCacheContextTest::testCalculatedRole | function | core/ |
@covers ::getContext |
UserTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
UserTranslationUITest::$defaultCacheContexts | property | core/ |
Default cache contexts expected on a non-translated entity. |
VariationCacheTest::$cacheContextsManager | property | core/ |
The prophesized cache contexts manager. |
ViewExecutable::addCacheContext | function | core/ |
Expands the list of used cache contexts for the view. |
views.view.contextual_recent.yml | file | core/ |
core/modules/contextual/tests/modules/contextual_test/config/optional/views.view.contextual_recent.yml |
views.view.test_contextual_links.yml | file | core/ |
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_contextual_links.yml |
Pagination
- Previous page
- Page 32
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.