LanguagesCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php |
Returns the label of the cache context. |
LanguagesCacheContext::__construct |
function |
core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php |
Constructs a new LanguagesCacheContext service. |
LayoutBuilderBlocksTest::testPluginsProvidingCustomAttributesAndContextualLinks |
function |
core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php |
Tests that block plugins can define custom attributes and contextual links. |
LayoutBuilderContextTrait |
trait |
core/modules/layout_builder/src/Context/LayoutBuilderContextTrait.php |
Provides a wrapper around getting contexts from a section storage object. |
LayoutBuilderContextTrait.php |
file |
core/modules/layout_builder/src/Context/LayoutBuilderContextTrait.php |
|
LayoutBuilderContextTrait::$contextRepository |
property |
core/modules/layout_builder/src/Context/LayoutBuilderContextTrait.php |
The context repository. |
LayoutBuilderContextTrait::contextRepository |
function |
core/modules/layout_builder/src/Context/LayoutBuilderContextTrait.php |
Gets the context repository service. |
LayoutBuilderContextTrait::getPopulatedContexts |
function |
core/modules/layout_builder/src/Context/LayoutBuilderContextTrait.php |
Returns all populated contexts, both global and section-storage-specific. |
LayoutBuilderDisableInteractionsTest::assertContextualLinkRetainsMouseup |
function |
core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php |
Makes sure contextual links respond to mouseup event. |
LayoutBuilderDisableInteractionsTest::assertContextualLinksClickable |
function |
core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php |
Confirms that Layout Builder contextual links remain active. |
LayoutBuilderEntityViewDisplay::contextRepository |
function |
core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php |
Wraps the context repository service. |
LayoutBuilderEntityViewDisplay::getContextsForEntity |
function |
core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php |
Gets the available contexts for a given entity. |
LayoutBuilderIsActiveCacheContext |
class |
core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php |
Determines whether Layout Builder is active for a given entity type or not. |
LayoutBuilderIsActiveCacheContext.php |
file |
core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php |
|
LayoutBuilderIsActiveCacheContext::$routeMatch |
property |
core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php |
The current route match. |
LayoutBuilderIsActiveCacheContext::getCacheableMetadata |
function |
core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php |
Gets cacheability metadata for the context based on the parameter value. |
LayoutBuilderIsActiveCacheContext::getContext |
function |
core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php |
Returns the string representation of the cache context. |
LayoutBuilderIsActiveCacheContext::getDisplay |
function |
core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php |
Returns the entity view display for a given entity type and view mode. |
LayoutBuilderIsActiveCacheContext::getLabel |
function |
core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php |
Returns the label of the cache context. |
LayoutBuilderIsActiveCacheContext::__construct |
function |
core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php |
LayoutBuilderCacheContext constructor. |
LayoutBuilderIsActiveCacheContextTest |
class |
core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php |
Tests Drupal\layout_builder\Cache\LayoutBuilderIsActiveCacheContext. |
LayoutBuilderIsActiveCacheContextTest.php |
file |
core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php |
|
LayoutBuilderIsActiveCacheContextTest::providerTestGetContext |
function |
core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php |
Provides test data for ::testGetContext(). |
LayoutBuilderIsActiveCacheContextTest::testGetContext |
function |
core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php |
Tests get context. |
LayoutBuilderIsActiveCacheContextTest::testGetContextMissingEntityTypeId |
function |
core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php |
Tests get context missing entity type id. |
LayoutBuilderIsActiveCacheContextTest::testGetContextNonFieldableEntity |
function |
core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php |
Tests get context non fieldable entity. |
LayoutBuilderSectionStorageTest::testRenderByContextAwarePluginDelegate |
function |
core/modules/layout_builder/tests/src/Functional/LayoutBuilderSectionStorageTest.php |
Tests that section loading is delegated to plugins during rendering. |
LayoutBuilderTest::clickContextualLink |
function |
core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php |
@todo Remove this in https://www.drupal.org/project/drupal/issues/2918718. |
LayoutBuilderTest::testContextAwareLayouts |
function |
core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php |
Tests that layouts can be context-aware. |
LayoutBuilderTest::testLayoutBuilderContexts |
function |
core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php |
Tests the Layout Builder UI with a context defined at runtime. |
LayoutBuilderUiCacheContext |
class |
core/modules/layout_builder/src/Cache/LayoutBuilderUiCacheContext.php |
Determines if an entity is being viewed in the Layout Builder UI. |
LayoutBuilderUiCacheContext.php |
file |
core/modules/layout_builder/src/Cache/LayoutBuilderUiCacheContext.php |
|
LayoutBuilderUiCacheContext::getContext |
function |
core/modules/layout_builder/src/Cache/LayoutBuilderUiCacheContext.php |
Returns the string representation of the cache context. |
LayoutBuilderUiCacheContext::getLabel |
function |
core/modules/layout_builder/src/Cache/LayoutBuilderUiCacheContext.php |
Returns the label of the cache context. |
layout_builder.links.contextual.yml |
file |
core/modules/layout_builder/layout_builder.links.contextual.yml |
core/modules/layout_builder/layout_builder.links.contextual.yml |
layout_builder_field_block_test.fake_view_mode_context |
service |
core/modules/layout_builder/tests/modules/layout_builder_field_block_test/layout_builder_field_block_test.services.yml |
Drupal\layout_builder_field_block_test\ContextProvider\FakeViewModeContext |
layout_builder_test.i_have_runtime_contexts |
service |
core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.services.yml |
Drupal\layout_builder_test\ContextProvider\IHaveRuntimeContexts |
layout_builder_test.links.contextual.yml |
file |
core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.links.contextual.yml |
core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.links.contextual.yml |
LazyContextRepository |
class |
core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php |
Provides a context repository which uses context provider services. |
LazyContextRepository.php |
file |
core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php |
|
LazyContextRepository::$container |
property |
core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php |
The service container. |
LazyContextRepository::$contextProviderServiceIDs |
property |
core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php |
The set of available context providers service IDs. |
LazyContextRepository::$contexts |
property |
core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php |
The statically cached contexts. |
LazyContextRepository::getAvailableContexts |
function |
core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php |
Gets all available contexts for the purposes of configuration. |
LazyContextRepository::getRuntimeContexts |
function |
core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php |
Gets runtime context values for the given context IDs. |
LazyContextRepository::__construct |
function |
core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php |
Constructs a LazyContextRepository object. |
LazyContextRepositoryTest |
class |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
Tests Drupal\Core\Plugin\Context\LazyContextRepository. |
LazyContextRepositoryTest.php |
file |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
|
LazyContextRepositoryTest::$container |
property |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
The container. |
LazyContextRepositoryTest::setUp |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
|