Search for context
- Search 7.x for context
- Search 8.9.x for context
- Search 10.3.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 |
|---|---|---|---|
| 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/ |
|
| 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/ |
|
| IsSuperUserCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
| IsSuperUserCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
| IsSuperUserCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
| ItemHalJsonTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| ItemResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| language.current_language_context | service | core/ |
Drupal\Core\Language\ContextProvider\CurrentLanguageContext |
| LanguageNegotiationUserAdmin::$adminContext | property | core/ |
The admin context. |
| LanguagesCacheContext | class | core/ |
Defines the LanguagesCacheContext service, for "per language" caching. |
| LanguagesCacheContext.php | file | core/ |
|
| LanguagesCacheContext::$languageManager | property | core/ |
The language manager. |
| LanguagesCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context based on the parameter value. |
| LanguagesCacheContext::getContext | function | core/ |
$type can be NULL, or one of the language types supported by the language manager, typically: |
| LanguagesCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
| LanguagesCacheContext::__construct | function | core/ |
Constructs a new LanguagesCacheContext service. |
| layout-builder-context-mapping.php | file | core/ |
Test context mapping update path by adding a layout without a context map. |
| LayoutBuilderContextMappingUpdatePathTest | class | core/ |
Tests the upgrade path for Layout Builder layout context mappings. |
| LayoutBuilderContextMappingUpdatePathTest.php | file | core/ |
|
| LayoutBuilderContextMappingUpdatePathTest::setDatabaseDumpFiles | function | core/ |
Set database dump files to be used. |
| LayoutBuilderContextMappingUpdatePathTest::testRunUpdates | function | core/ |
Tests the upgrade path for Layout Builder layout context mappings. |
| LayoutBuilderContextTrait | trait | core/ |
Provides a wrapper around getting contexts from a section storage object. |
| LayoutBuilderContextTrait.php | file | core/ |
|
| LayoutBuilderContextTrait::$contextRepository | property | core/ |
The context repository. |
| LayoutBuilderContextTrait::contextRepository | function | core/ |
Gets the context repository service. |
| LayoutBuilderContextTrait::getAvailableContexts | function | core/ |
Provides all available contexts, both global and section_storage-specific. |
| LayoutBuilderContextTrait::getPopulatedContexts | function | core/ |
Returns all populated contexts, both global and section-storage-specific. |
| LayoutBuilderDisableInteractionsTest::assertContextualLinkRetainsMouseup | function | core/ |
Makes sure contextual links respond to mouseup event. |
Pagination
- Previous page
- Page 21
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.