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 |
|---|---|---|---|
| ForumBlockBase::getCacheContexts | function | core/ |
|
| HeadersCacheContext | class | core/ |
Defines the HeadersCacheContext service, for "per header" caching. |
| HeadersCacheContext.php | file | core/ |
|
| HeadersCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context based on the parameter value. |
| HeadersCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
| HeadersCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
| HeadersCacheContextTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\Context\HeadersCacheContext[[api-linebreak]] @group Cache |
| HeadersCacheContextTest.php | file | core/ |
|
| HeadersCacheContextTest::providerTestGetContext | function | core/ |
Provides a list of headers and expected cache contexts. |
| HeadersCacheContextTest::testGetContext | function | core/ |
@covers ::getContext[[api-linebreak]] |
| HelpBlock::getCacheContexts | function | core/ |
|
| HelpTopicSection::getCacheContexts | function | core/ |
|
| HelpTopicTwig::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| HelpTopicTwigLoader::getSourceContext | function | core/ |
|
| HelpTopicTwigLoaderTest::testGetSourceContext | function | core/ |
@covers ::getSourceContext[[api-linebreak]] |
| HelpTopicTwigLoaderTest::testGetSourceContextException | function | core/ |
@covers ::getSourceContext[[api-linebreak]] |
| hook_contextual_links_alter | function | core/ |
Alter contextual links before they are rendered. |
| hook_contextual_links_plugins_alter | function | core/ |
Alter the plugin definition of contextual links. |
| hook_contextual_links_view_alter | function | core/ |
Alter a contextual links element before it is rendered. |
| IFrameUrlHelper::$requestContext | property | core/ |
The request context service. |
| IHaveRuntimeContexts | class | core/ |
Defines a class for a fake context provider. |
| IHaveRuntimeContexts | class | core/ |
Defines a class for a context-aware block. |
| IHaveRuntimeContexts.php | file | core/ |
|
| IHaveRuntimeContexts.php | file | core/ |
|
| IHaveRuntimeContexts::build | function | core/ |
Builds and returns the renderable array for this block plugin. |
| IHaveRuntimeContexts::getAvailableContexts | function | core/ |
Gets all available contexts for the purposes of configuration. |
| IHaveRuntimeContexts::getRuntimeContexts | function | core/ |
Gets runtime context values for the given context IDs. |
| InaccessibleMenuLink::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| InheritedContextDefinition | class | core/ |
Inherited class used for testing. |
| InheritedContextDefinition.php | file | core/ |
|
| InstallerAccessPolicy::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
| IpCacheContext | class | core/ |
Defines the IpCacheContext service, for "per IP address" caching. |
| IpCacheContext.php | file | core/ |
|
| IpCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
| IpCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
| IpCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
| IsFrontPathCacheContext | class | core/ |
Defines a cache context for whether the URL is the front page of the site. |
| IsFrontPathCacheContext.php | file | core/ |
|
| IsFrontPathCacheContext::$pathMatcher | property | core/ |
|
| IsFrontPathCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
| IsFrontPathCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
| IsFrontPathCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
| IsFrontPathCacheContext::__construct | function | core/ |
Constructs an IsFrontPathCacheContext object. |
| IsFrontPathCacheContextTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\Context\IsFrontPathCacheContext[[api-linebreak]] @group Cache |
| IsFrontPathCacheContextTest.php | file | core/ |
|
| IsFrontPathCacheContextTest::createPathMatcher | function | core/ |
Creates a PathMatcherInterface prophecy. |
| IsFrontPathCacheContextTest::testGetContextFront | function | core/ |
@covers ::getContext[[api-linebreak]] |
| IsFrontPathCacheContextTest::testGetContextNotFront | function | core/ |
@covers ::getContext[[api-linebreak]] |
| IsSuperUserCacheContext | class | core/ |
Defines the IsSuperUserCacheContext service, for "super user or not" caching. |
| IsSuperUserCacheContext.php | file | core/ |
Pagination
- Previous page
- Page 20
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.