Search for context

  1. Search 7.x for context
  2. Search 9.5.x for context
  3. Search 8.9.x for context
  4. Search 10.3.x for context
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Context class core/lib/Drupal/Core/Plugin/Context/Context.php A Drupal specific context wrapper class.
Context class core/lib/Drupal/Component/Plugin/Context/Context.php A generic context class for wrapping data a plugin needs to operate.

All search results

Title Object type File name Summary
ContextDefinitionTest::testGetDataDefinitionInvalidType function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php Tests get data definition invalid type.
ContextDefinitionTest::testIsSatisfiedBy function core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php Tests is satisfied by.
ContextException class core/lib/Drupal/Component/Plugin/Exception/ContextException.php An exception class to be thrown for context plugin exceptions.
ContextException.php file core/lib/Drupal/Component/Plugin/Exception/ContextException.php
ContextHandler class core/lib/Drupal/Core/Plugin/Context/ContextHandler.php Provides methods to handle sets of contexts.
ContextHandler.php file core/lib/Drupal/Core/Plugin/Context/ContextHandler.php
ContextHandler::applyContextMapping function core/lib/Drupal/Core/Plugin/Context/ContextHandler.php Prepares a plugin for evaluation.
ContextHandler::checkRequirements function core/lib/Drupal/Core/Plugin/Context/ContextHandler.php Checks a set of requirements against a set of contexts.
ContextHandler::filterPluginDefinitionsByContexts function core/lib/Drupal/Core/Plugin/Context/ContextHandler.php Determines plugins whose constraints are satisfied by a set of contexts.
ContextHandler::getContextDefinitions function core/lib/Drupal/Core/Plugin/Context/ContextHandler.php Returns the context definitions associated with a plugin definition.
ContextHandler::getMatchingContexts function core/lib/Drupal/Core/Plugin/Context/ContextHandler.php Determines which contexts satisfy the constraints of a given definition.
ContextHandlerInterface interface core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php Provides an interface for handling sets of contexts.
ContextHandlerInterface.php file core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php
ContextHandlerInterface::applyContextMapping function core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php Prepares a plugin for evaluation.
ContextHandlerInterface::checkRequirements function core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php Checks a set of requirements against a set of contexts.
ContextHandlerInterface::filterPluginDefinitionsByContexts function core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php Determines plugins whose constraints are satisfied by a set of contexts.
ContextHandlerInterface::getMatchingContexts function core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php Determines which contexts satisfy the constraints of a given definition.
ContextHandlerTest class core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Tests Drupal\Core\Plugin\Context\ContextHandler.
ContextHandlerTest class core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php Tests Drupal\Core\Plugin\Context\ContextHandler.
ContextHandlerTest.php file core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php
ContextHandlerTest.php file core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php
ContextHandlerTest::$contextHandler property core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php The context handler.
ContextHandlerTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php Modules to install.
ContextHandlerTest::providerTestCheckRequirements function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Provides data for testCheckRequirements().
ContextHandlerTest::providerTestFilterPluginDefinitionsByContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Provides data for testFilterPluginDefinitionsByContexts().
ContextHandlerTest::providerTestGetMatchingContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Provides data for testGetMatchingContexts().
ContextHandlerTest::setUp function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php
ContextHandlerTest::testApplyContextMapping function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Tests apply context mapping.
ContextHandlerTest::testApplyContextMapping function core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php Tests apply context mapping.
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/Core/Plugin/Context/ContextInterface.php
ContextInterface.php file core/lib/Drupal/Component/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.

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