Search for getContexts

  1. Search 7.x for getContexts
  2. Search 9.5.x for getContexts
  3. Search 8.9.x for getContexts
  4. Search 10.3.x for getContexts
  5. Other projects
Title Object type File name Summary
CacheContextsManagerTest::getContextsFixture function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
ContextAwarePluginInterface::getContexts function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets the defined contexts.
ContextAwarePluginTrait::getContexts function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
ContextAwareVariantInterface::getContexts function core/lib/Drupal/Core/Display/ContextAwareVariantInterface.php Gets the values for all defined contexts.
DefaultsSectionStorage::getContextsDuringPreview function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
DefaultsSectionStorageTest::testGetContexts function core/modules/layout_builder/tests/src/Kernel/DefaultsSectionStorageTest.php @covers ::getContexts
DefaultsSectionStorageTest::testGetContextsDuringPreview function core/modules/layout_builder/tests/src/Kernel/DefaultsSectionStorageTest.php @covers ::getContextsDuringPreview
LayoutBuilderEntityViewDisplay::getContextsForEntity function core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php Gets the available contexts for a given entity.
NavigationSectionStorage::getContextsDuringPreview function core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php
OverridesSectionStorage::getContextsDuringPreview function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php
OverridesSectionStorageTest::testGetContexts function core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php @covers ::getContexts
OverridesSectionStorageTest::testGetContextsDuringPreview function core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php @covers ::getContextsDuringPreview
PageDisplayVariantSelectionEvent::getContexts function core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php Gets the contexts that were set during event dispatch.
SectionComponentBuildRenderArrayEvent::getContexts function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Get the available contexts.
SectionStorageBase::getContextsDuringPreview function core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php
SectionStorageInterface::getContextsDuringPreview function core/modules/layout_builder/src/SectionStorageInterface.php Gets contexts for use during preview.
SimpleConfigSectionStorage::getContextsDuringPreview function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php
TestDisplayVariant::getContexts function core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php Gets the contexts.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.