Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
ContextHandlerTest::testApplyContextMappingAlreadyApplied function core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php Tests apply context mapping already applied.
ContextHandlerTest::testApplyContextMappingConfigurableAssigned function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Tests apply context mapping configurable assigned.
ContextHandlerTest::testApplyContextMappingConfigurableAssignedMiss function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Tests apply context mapping configurable assigned miss.
ContextHandlerTest::testApplyContextMappingMissingNotRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Tests apply context mapping missing not required.
ContextHandlerTest::testApplyContextMappingMissingRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Tests apply context mapping missing required.
ContextHandlerTest::testApplyContextMappingNoValueNonRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Tests apply context mapping no value non required.
ContextHandlerTest::testApplyContextMappingNoValueRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Tests apply context mapping no value required.
ContextHandlerTest::testCheckRequirements function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Tests check requirements.
ContextHandlerTest::testFilterPluginDefinitionsByContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Tests filter plugin definitions by contexts.
ContextHandlerTest::testGetMatchingContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Tests get matching contexts.
ContextInterface interface core/lib/Drupal/Core/Plugin/Context/ContextInterface.php Context data and definitions for plugins supporting caching and return docs.
ContextInterface interface core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Provides data and definitions for plugins during runtime and administration.
ContextInterface.php file core/lib/Drupal/Component/Plugin/Context/ContextInterface.php
ContextInterface.php file core/lib/Drupal/Core/Plugin/Context/ContextInterface.php
ContextInterface::addCacheableDependency function core/lib/Drupal/Core/Plugin/Context/ContextInterface.php Adds a dependency on an object: merges its cacheability metadata.
ContextInterface::createFromContext function core/lib/Drupal/Core/Plugin/Context/ContextInterface.php Creates a new context with a different value.
ContextInterface::getConstraints function core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Gets a list of validation constraints.
ContextInterface::getContextData function core/lib/Drupal/Core/Plugin/Context/ContextInterface.php Gets the context value as typed data object.
ContextInterface::getContextDefinition function core/lib/Drupal/Core/Plugin/Context/ContextInterface.php
ContextInterface::getContextDefinition function core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Gets the provided definition that the context must conform to.
ContextInterface::getContextValue function core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Gets the context value.
ContextInterface::hasContextValue function core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Returns whether the context has a value.
ContextInterface::validate function core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Validates the set context value.
ContextPluginTest class core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php Tests that contexts are properly set and working within plugins.
ContextPluginTest.php file core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php
ContextPluginTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php
ContextPluginTest::testContext function core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php Tests basic context definition and value getters and setters.
ContextProviderInterface interface core/lib/Drupal/Core/Plugin/Context/ContextProviderInterface.php Defines an interface for providing plugin contexts.
ContextProviderInterface.php file core/lib/Drupal/Core/Plugin/Context/ContextProviderInterface.php
ContextProviderInterface::getAvailableContexts function core/lib/Drupal/Core/Plugin/Context/ContextProviderInterface.php Gets all available contexts for the purposes of configuration.
ContextProviderInterface::getRuntimeContexts function core/lib/Drupal/Core/Plugin/Context/ContextProviderInterface.php Gets runtime context values for the given context IDs.
ContextRepositoryInterface interface core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php Offers a global context repository.
ContextRepositoryInterface.php file core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php
ContextRepositoryInterface::getAvailableContexts function core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php Gets all available contexts for the purposes of configuration.
ContextRepositoryInterface::getRuntimeContexts function core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php Gets runtime context values for the given context IDs.
ContextTest class core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php Tests Drupal\Core\Plugin\Context\Context.
ContextTest class core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php Tests Drupal\Component\Plugin\Context\Context.
ContextTest.php file core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php
ContextTest.php file core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php
ContextTest::$contextDefinition property core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php The mocked context definition object.
ContextTest::$typedData property core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php The mocked Typed Data object.
ContextTest::$typedDataManager property core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php The mocked Typed Data manager.
ContextTest::providerGetContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php Data provider for testGetContextValue.
ContextTest::providerHasContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php Data provider for testHasContextValue.
ContextTest::setUp function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php
ContextTest::setUpDefaultValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php Set up mocks for the getDefaultValue() method call.
ContextTest::testDefaultDataValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php Tests default data value.
ContextTest::testDefaultValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php Tests default value.
ContextTest::testDefaultValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @legacy-covers ::getContextValue
ContextTest::testGetContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php Tests get context value.

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