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 11.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::providerGetConstraint function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php Data provider for testGetConstraint.
ContextDefinitionTest::providerGetDataDefinition function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php Very simple data provider.
ContextDefinitionTest::testConstraints function core/tests/Drupal/KernelTests/Core/Plugin/Annotation/ContextDefinitionTest.php Tests adding constraints via annotations.
ContextDefinitionTest::testCreateWithEntityDataType function core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php @covers ::create[[api-linebreak]]
ContextDefinitionTest::testDefaultValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @covers ::getDefaultValue[[api-linebreak]]
@covers ::setDefaultValue[[api-linebreak]]
ContextDefinitionTest::testEntityContextDefinitionAssert function core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php @covers ::__construct[[api-linebreak]]
ContextDefinitionTest::testGetConstraint function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @dataProvider providerGetConstraint
@covers ::getConstraint[[api-linebreak]]
@uses \Drupal
ContextDefinitionTest::testGetDataDefinition function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @dataProvider providerGetDataDefinition
@covers ::getDataDefinition[[api-linebreak]]
@uses \Drupal
ContextDefinitionTest::testGetDataDefinitionInvalidType function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @dataProvider providerGetDataDefinition
@covers ::getDataDefinition[[api-linebreak]]
@uses \Drupal
ContextDefinitionTest::testIsSatisfiedBy function core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php @covers ::isSatisfiedBy[[api-linebreak]]
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/KernelTests/Core/Plugin/ContextHandlerTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\ContextHandler[[api-linebreak]]
ContextHandlerTest class core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\ContextHandler[[api-linebreak]]
@group Plugin
ContextHandlerTest.php file core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php
ContextHandlerTest.php file core/tests/Drupal/KernelTests/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 @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testApplyContextMapping function core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testApplyContextMappingAlreadyApplied function core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testApplyContextMappingConfigurableAssigned function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testApplyContextMappingConfigurableAssignedMiss function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testApplyContextMappingMissingNotRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testApplyContextMappingMissingRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testApplyContextMappingNoValueNonRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testApplyContextMappingNoValueRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testCheckRequirements function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::checkRequirements[[api-linebreak]]
ContextHandlerTest::testFilterPluginDefinitionsByContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::filterPluginDefinitionsByContexts[[api-linebreak]]
ContextHandlerTest::testGetMatchingContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::getMatchingContexts[[api-linebreak]]
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

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