Search for getAvailableContexts

  1. Search 7.x for getAvailableContexts
  2. Search 8.9.x for getAvailableContexts
  3. Search 10.3.x for getAvailableContexts
  4. Search 11.x for getAvailableContexts
  5. Other projects
Title Object type File name Summary
ContextProviderInterface::getAvailableContexts function core/lib/Drupal/Core/Plugin/Context/ContextProviderInterface.php Gets all available contexts for the purposes of configuration.
ContextRepositoryInterface::getAvailableContexts function core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php Gets all available contexts for the purposes of configuration.
CurrentLanguageContext::getAvailableContexts function core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php
CurrentUserContext::getAvailableContexts function core/modules/user/src/ContextProvider/CurrentUserContext.php
CurrentUserContextTest::testGetAvailableContexts function core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php @covers ::getAvailableContexts
FakeViewModeContext::getAvailableContexts function core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/src/ContextProvider/FakeViewModeContext.php Gets all available contexts for the purposes of configuration.
IHaveRuntimeContexts::getAvailableContexts function core/modules/layout_builder/tests/modules/layout_builder_test/src/ContextProvider/IHaveRuntimeContexts.php Gets all available contexts for the purposes of configuration.
LayoutBuilderContextTrait::getAvailableContexts function core/modules/layout_builder/src/Context/LayoutBuilderContextTrait.php Provides all available contexts, both global and section_storage-specific.
LazyContextRepository::getAvailableContexts function core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php
LazyContextRepositoryTest::testGetAvailableContexts function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @covers ::getAvailableContexts
MultipleStaticContext::getAvailableContexts function core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php
NodeRouteContext::getAvailableContexts function core/modules/node/src/ContextProvider/NodeRouteContext.php Gets all available contexts for the purposes of configuration.
TermContextTest::testGetAvailableContexts function core/modules/taxonomy/tests/src/Kernel/ContextProvider/TermContextTest.php @covers ::getAvailableContexts
TermRouteContext::getAvailableContexts function core/modules/taxonomy/src/ContextProvider/TermRouteContext.php

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