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 |
---|---|---|---|
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/ |
|
PirateDayCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
PirateDayCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
PirateDayCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
PirateDayCacheContext::isPirateDay | function | core/ |
Returns whether or not it is Pirate Day. |
PirateDayCacheContext::PIRATE_DAY_MAX_AGE | constant | core/ |
The length of Pirate Day. It lasts 24 hours. |
PlaceholderGenerator::$cacheContextsManager | property | core/ |
The cache contexts manager service. |
PlaceholderGeneratorTest::testRenderPlaceholdersDifferentSortedContextsTags | function | core/ |
Tests the creation of an element with a #lazy_builder callback. |
PluralTranslation::$context | property | core/ |
The context the source strings belong to. |
PoItem::$context | property | core/ |
The context this translation belongs to. |
PoItem::getContext | function | core/ |
Gets the context this translation belongs to. |
PoItem::setContext | function | core/ |
Set the context this translation belongs to. |
PoStreamReader::$context | property | core/ |
Parser context for the stream reader state machine. |
PreviewTest::testPreviewContextual | function | core/ |
Tests contextual links in the preview form. |
ProtocolVersionCacheContext | class | core/ |
Defines the ProtocolVersionCacheContext service, for "per protocol" caching. |
ProtocolVersionCacheContext.php | file | core/ |
|
ProtocolVersionCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
ProtocolVersionCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
ProtocolVersionCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
ProtocolVersionCacheContextTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\Context\ProtocolVersionCacheContext @group Cache |
ProtocolVersionCacheContextTest.php | file | core/ |
|
ProtocolVersionCacheContextTest::providerTestGetContext | function | core/ |
Provides a list of query arguments and expected cache contexts. |
ProtocolVersionCacheContextTest::testGetContext | function | core/ |
@covers ::getContext |
QueryArgsCacheContext | class | core/ |
Defines the QueryArgsCacheContext service, for "per query args" caching. |
QueryArgsCacheContext.php | file | core/ |
|
QueryArgsCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context based on the parameter value. |
QueryArgsCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
QueryArgsCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
QueryArgsCacheContextTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\Context\QueryArgsCacheContext @group Cache |
QueryArgsCacheContextTest.php | file | core/ |
|
QueryArgsCacheContextTest::providerTestGetContext | function | core/ |
Provides a list of query arguments and expected cache contexts. |
QueryArgsCacheContextTest::testGetContext | function | core/ |
@covers ::getContext |
QueryParameter::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
QueryPluginBase::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
Raw::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
ReadOnlyStream::$context | property | core/ |
Stream context resource. |
RecursiveContextualValidator | class | core/ |
Defines a recursive contextual validator for Typed Data. |
RecursiveContextualValidator.php | file | core/ |
|
RecursiveContextualValidator::$constraintValidatorFactory | property | core/ |
The constraint validator factory. |
RecursiveContextualValidator::$context | property | core/ |
The execution context. |
RecursiveContextualValidator::$metadataFactory | property | core/ |
The metadata factory. |
Pagination
- Previous page
- Page 25
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.