Search for getAvailableContexts

  1. Search 7.x for getAvailableContexts
  2. Search 9.5.x for getAvailableContexts
  3. Search 8.9.x for getAvailableContexts
  4. Search 10.3.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 Tests get available contexts.
FakeViewModeContext::getAvailableContexts function core/modules/layout_builder/tests/modules/layout_builder_field_block_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.
LazyContextRepository::getAvailableContexts function core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php
LazyContextRepositoryTest::testGetAvailableContexts function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php Tests get available contexts.
MultipleStaticContext::getAvailableContexts function core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php Gets all available contexts for the purposes of configuration.
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 Tests get available contexts.
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.