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 |
---|---|---|---|
LayoutBuilderEntityViewDisplay::getContextsForEntity | function | core/ |
Gets the available contexts for a given entity. |
LayoutBuilderIsActiveCacheContext | class | core/ |
Determines whether Layout Builder is active for a given entity type or not. |
LayoutBuilderIsActiveCacheContext.php | file | core/ |
|
LayoutBuilderIsActiveCacheContext::$routeMatch | property | core/ |
The current route match. |
LayoutBuilderIsActiveCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context based on the parameter value. |
LayoutBuilderIsActiveCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
LayoutBuilderIsActiveCacheContext::getDisplay | function | core/ |
Returns the entity view display for a given entity type and view mode. |
LayoutBuilderIsActiveCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
LayoutBuilderIsActiveCacheContext::__construct | function | core/ |
LayoutBuilderCacheContext constructor. |
LayoutBuilderIsActiveCacheContextTest | class | core/ |
@coversDefaultClass \Drupal\layout_builder\Cache\LayoutBuilderIsActiveCacheContext |
LayoutBuilderIsActiveCacheContextTest.php | file | core/ |
|
LayoutBuilderIsActiveCacheContextTest::providerTestGetContext | function | core/ |
Provides test data for ::testGetContext(). |
LayoutBuilderIsActiveCacheContextTest::testGetContext | function | core/ |
@covers ::getContext @covers ::getDisplay |
LayoutBuilderIsActiveCacheContextTest::testGetContextMissingEntityTypeId | function | core/ |
@covers ::getContext |
LayoutBuilderIsActiveCacheContextTest::testGetContextNonFieldableEntity | function | core/ |
@covers ::getContext @covers ::getDisplay |
LayoutBuilderSectionStorageTest::testRenderByContextAwarePluginDelegate | function | core/ |
Tests that section loading is delegated to plugins during rendering. |
LayoutBuilderTest::clickContextualLink | function | core/ |
@todo Remove this in https://www.drupal.org/project/drupal/issues/2918718. |
LayoutBuilderTest::testContextAwareLayouts | function | core/ |
Tests that layouts can be context-aware. |
LayoutBuilderTest::testLayoutBuilderContexts | function | core/ |
Tests the Layout Builder UI with a context defined at runtime. |
LayoutBuilderUiCacheContext | class | core/ |
Determines if an entity is being viewed in the Layout Builder UI. |
LayoutBuilderUiCacheContext.php | file | core/ |
|
LayoutBuilderUiCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
LayoutBuilderUiCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
layout_builder.links.contextual.yml | file | core/ |
core/modules/layout_builder/layout_builder.links.contextual.yml |
layout_builder_fieldblock_test.fake_view_mode_context | service | core/ |
Drupal\layout_builder_fieldblock_test\ContextProvider\FakeViewModeContext |
layout_builder_test.i_have_runtime_contexts | service | core/ |
Drupal\layout_builder_test\ContextProvider\IHaveRuntimeContexts |
layout_builder_test.links.contextual.yml | file | core/ |
core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.links.contextual.yml |
LazyContextRepository | class | core/ |
Provides a context repository which uses context provider services. |
LazyContextRepository.php | file | core/ |
|
LazyContextRepository::$container | property | core/ |
The service container. |
LazyContextRepository::$contextProviderServiceIDs | property | core/ |
The set of available context providers service IDs. |
LazyContextRepository::$contexts | property | core/ |
The statically cached contexts. |
LazyContextRepository::getAvailableContexts | function | core/ |
Gets all available contexts for the purposes of configuration. |
LazyContextRepository::getRuntimeContexts | function | core/ |
Gets runtime context values for the given context IDs. |
LazyContextRepository::__construct | function | core/ |
Constructs a LazyContextRepository object. |
LazyContextRepositoryTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\Context\LazyContextRepository @group context |
LazyContextRepositoryTest.php | file | core/ |
|
LazyContextRepositoryTest::$container | property | core/ |
The container. |
LazyContextRepositoryTest::setUp | function | core/ |
|
LazyContextRepositoryTest::setupContextAndProvider | function | core/ |
Sets up contexts and context providers. |
LazyContextRepositoryTest::testGetAvailableContexts | function | core/ |
@covers ::getAvailableContexts |
LazyContextRepositoryTest::testGetRuntimeContextsSingle | function | core/ |
@covers ::getRuntimeContexts |
LazyContextRepositoryTest::testGetRuntimeMultipleContextProviders | function | core/ |
@covers ::getRuntimeContexts |
LazyContextRepositoryTest::testGetRuntimeMultipleContextsPerService | function | core/ |
@covers ::getRuntimeContexts |
LazyContextRepositoryTest::testGetRuntimeStaticCache | function | core/ |
@covers ::getRuntimeContexts |
LazyContextRepositoryTest::testInvalidContextId | function | core/ |
@covers ::getRuntimeContexts |
LinkCollection::$context | property | core/ |
The link context. |
LinkCollection::getContext | function | core/ |
Gets the LinkCollection's context object. |
LinkCollection::withContext | function | core/ |
Establishes a new context for a LinkCollection. |
LinkCollectionNormalizer::LINK_CONTEXT | constant | core/ |
The normalizer $context key name for the context object of the link. |
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.