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
ContextDefinitionTest::testDefaultValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @covers ::getDefaultValue
@covers ::setDefaultValue
ContextDefinitionTest::testEntityContextDefinitionAssert function core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php @covers ::__construct
ContextDefinitionTest::testGetConstraint function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @dataProvider providerGetConstraint
@covers ::getConstraint
@uses \Drupal
ContextDefinitionTest::testGetDataDefinition function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @dataProvider providerGetDataDefinition
@covers ::getDataDefinition
@uses \Drupal
ContextDefinitionTest::testGetDataDefinitionInvalidType function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @dataProvider providerGetDataDefinition
@covers ::getDataDefinition
@uses \Drupal
ContextDefinitionTest::testIsSatisfiedBy function core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php @covers ::isSatisfiedBy
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
ContextHandler::checkRequirements function core/lib/Drupal/Core/Plugin/Context/ContextHandler.php
ContextHandler::filterPluginDefinitionsByContexts function core/lib/Drupal/Core/Plugin/Context/ContextHandler.php
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
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
ContextHandlerTest class core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\ContextHandler
@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
ContextHandlerTest::testApplyContextMapping function core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping
ContextHandlerTest::testApplyContextMappingAlreadyApplied function core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping
ContextHandlerTest::testApplyContextMappingConfigurableAssigned function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping
ContextHandlerTest::testApplyContextMappingConfigurableAssignedMiss function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping
ContextHandlerTest::testApplyContextMappingMissingNotRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping
ContextHandlerTest::testApplyContextMappingMissingRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping
ContextHandlerTest::testApplyContextMappingNoValueNonRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping
ContextHandlerTest::testApplyContextMappingNoValueRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping
ContextHandlerTest::testCheckRequirements function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::checkRequirements
ContextHandlerTest::testFilterPluginDefinitionsByContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::filterPluginDefinitionsByContexts
ContextHandlerTest::testGetMatchingContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::getMatchingContexts
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.