Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
ContextDefinitionIsSatisfiedTest class core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\ContextDefinition[[api-linebreak]]
@group Plugin
ContextDefinitionIsSatisfiedTest.php file core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php
ContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedBy function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php Provides test data for ::testIsSatisfiedBy().
ContextDefinitionIsSatisfiedTest::setUp function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php
ContextDefinitionIsSatisfiedTest::testIsSatisfiedBy function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php Tests that context requirements is satisfied as expected.
ContextDefinitionTest class core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php Tests the ContextDefinition class.
ContextDefinitionTest class core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\ContextDefinition[[api-linebreak]]
@group Plugin
ContextDefinitionTest class core/tests/Drupal/KernelTests/Core/Plugin/Annotation/ContextDefinitionTest.php @coversDefaultClass \Drupal\Core\Annotation\ContextDefinition[[api-linebreak]]
@group Plugin
ContextDefinitionTest.php file core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php
ContextDefinitionTest.php file core/tests/Drupal/KernelTests/Core/Plugin/Annotation/ContextDefinitionTest.php
ContextDefinitionTest.php file core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php
ContextDefinitionTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php Modules to enable.
ContextDefinitionTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/Annotation/ContextDefinitionTest.php Modules to enable.
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 Contains \Drupal\Tests\Core\Plugin\ContextHandlerTest.
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 enable.
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]]

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