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 |
---|---|---|---|
LayoutBuilderDisableInteractionsTest::assertContextualLinksClickable | function | core/ |
Confirms that Layout Builder contextual links remain active. |
LayoutBuilderEntityViewDisplay::contextRepository | function | core/ |
Wraps the context repository service. |
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. |
LayoutBuilderTest::testPluginsProvidingCustomAttributesAndContextualLinks | function | core/ |
Tests that block plugins can define custom attributes and contextual links. |
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_post_update_section_storage_context_mapping | function | core/ |
Update view displays that use Layout Builder to add empty context mappings. |
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 |
Pagination
- Previous page
- Page 22
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.