Search for context
- Search 7.x for context
- Search 9.5.x for context
- Search 8.9.x for context
- Search 10.3.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 |
---|---|---|---|
NumericArgument::getContextDefinition | function | core/ |
Returns a context definition for this argument. |
NumericArgumentValidator::getContextDefinition | function | core/ |
Returns a context definition for this argument. |
OffCanvasTestBase::assertAllContextualLinksLoaded | function | core/ |
Assert all contextual link areas have be loaded. |
OptionalContextCondition | class | core/ |
Provides a condition with an optional node context. |
OptionalContextCondition.php | file | core/ |
|
OptionalContextCondition::evaluate | function | core/ |
Evaluates the condition and returns TRUE or FALSE accordingly. |
OptionalContextCondition::summary | function | core/ |
Provides a human readable summary of the condition's configuration. |
OptionalContextConditionTest | class | core/ |
Tests a condition with optional context. |
OptionalContextConditionTest.php | file | core/ |
|
OptionalContextConditionTest::$modules | property | core/ |
Modules to install. |
OptionalContextConditionTest::testContextAvailable | function | core/ |
Tests with both contexts mapped to the same user. |
OptionalContextConditionTest::testContextMissing | function | core/ |
Tests with both contexts mapped to the same user. |
OptionalContextConditionTest::testContextNoValue | function | core/ |
Tests with both contexts mapped to the same user. |
OverridesSectionStorage::deriveContextsFromRoute | function | core/ |
Derives the available plugin contexts from route values. |
OverridesSectionStorage::getContextsDuringPreview | function | core/ |
Gets contexts for use during preview. |
OverridesSectionStorageTest::testDeriveContextsFromRoute | function | core/ |
@covers ::deriveContextsFromRoute |
OverridesSectionStorageTest::testGetContexts | function | core/ |
@covers ::getContexts |
OverridesSectionStorageTest::testGetContextsDuringPreview | function | core/ |
@covers ::getContextsDuringPreview |
PageDisplayVariantSelectionEvent::$contexts | property | core/ |
An array of collected contexts to pass to the page display variant. |
PageDisplayVariantSelectionEvent::getContexts | function | core/ |
Gets the contexts that were set during event dispatch. |
PageDisplayVariantSelectionEvent::setContexts | function | core/ |
Sets the contexts to be passed to the page display variant. |
PageRenderTest::testHtmlRendererAttachmentsRenderContext | function | core/ |
Tests HtmlRenderer::invokePageAttachmentHooks in a render context. |
PagersCacheContext | class | core/ |
Defines a cache context for "per page in a pager" caching. |
PagersCacheContext.php | file | core/ |
|
PagersCacheContext::$pagerParams | property | core/ |
The pager parameters. |
PagersCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context based on the parameter value. |
PagersCacheContext::getContext | function | core/ |
|
PagersCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
PagersCacheContext::__construct | function | core/ |
Constructs a new PagersCacheContext object. |
PagerTest::testPagerQueryParametersAndCacheContext | function | core/ |
Tests pager query parameters and cache context. |
PagerTestController::showPagerCacheContext | function | core/ |
#pre_render callback for #type => pager that shows the pager cache context. |
PathBasedBreadcrumbBuilder::$context | property | core/ |
The router request context. |
PathBasedBreadcrumbBuilderTest::$context | property | core/ |
The mocked route request context. |
PathCacheContext | class | core/ |
Defines the PathCacheContext service, for "per URL path" caching. |
PathCacheContext.php | file | core/ |
|
PathCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
PathCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
PathCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
PathParentCacheContext | class | core/ |
Defines a cache context service for path parents. |
PathParentCacheContext.php | file | core/ |
|
PathParentCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
PathParentCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
PathParentCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
PathParentCacheContextTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\Context\PathParentCacheContext @group Cache |
PathParentCacheContextTest.php | file | core/ |
|
PathParentCacheContextTest::providerTestGetContext | function | core/ |
Provides a list of paths and expected cache contexts. |
PathParentCacheContextTest::testGetContext | function | core/ |
@covers ::getContext |
Permission::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
PirateDayCacheContext | class | core/ |
Defines the PirateDayCacheContext service that allows to cache the booty. |
PirateDayCacheContext.php | file | core/ |
Pagination
- Previous page
- Page 24
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.