Search for definition

  1. Search 7.x for definition
  2. Search 9.5.x for definition
  3. Search 10.3.x for definition
  4. Search 11.x for definition
  5. Other projects
Title Object type File name Summary
ContextDefinition::__construct function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Constructs a new context definition object.
ContextDefinition::__sleep function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Implements magic __sleep() method.
ContextDefinitionInterface interface core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php Interface to define definition objects in ContextInterface via TypedData.
ContextDefinitionInterface interface core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Interface used to define definition objects found in ContextInterface.
ContextDefinitionInterface.php file core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php
ContextDefinitionInterface.php file core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php
ContextDefinitionInterface::addConstraint function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Adds a validation constraint.
ContextDefinitionInterface::getConstraint function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Gets a validation constraint.
ContextDefinitionInterface::getConstraints function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Gets an array of validation constraints.
ContextDefinitionInterface::getDataDefinition function core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php Returns the data definition of the defined context.
ContextDefinitionInterface::getDataType function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Gets the data type needed by the context.
ContextDefinitionInterface::getDefaultValue function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Gets the default value for this context definition.
ContextDefinitionInterface::getDescription function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Gets a human readable description.
ContextDefinitionInterface::getLabel function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Gets a human readable label.
ContextDefinitionInterface::isMultiple function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Determines whether the data is multi-valued, i.e. a list of data items.
ContextDefinitionInterface::isRequired function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Determines whether the context is required.
ContextDefinitionInterface::isSatisfiedBy function core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php Determines if this definition is satisfied by a context object.
ContextDefinitionInterface::setConstraints function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets the array of validation constraints.
ContextDefinitionInterface::setDataType function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets the data type needed by the context.
ContextDefinitionInterface::setDefaultValue function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets the default data value.
ContextDefinitionInterface::setDescription function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets the human readable description.
ContextDefinitionInterface::setLabel function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets the human readable label.
ContextDefinitionInterface::setMultiple function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets whether the data is multi-valued.
ContextDefinitionInterface::setRequired function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets whether the data is required.
ContextDefinitionIsSatisfiedTest class core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\ContextDefinition
@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/KernelTests/Core/Plugin/ContextDefinitionTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\ContextDefinition
@group Plugin
ContextDefinitionTest class core/tests/Drupal/KernelTests/Core/Plugin/Annotation/ContextDefinitionTest.php @coversDefaultClass \Drupal\Core\Annotation\ContextDefinition
@group Plugin
ContextDefinitionTest class core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php Tests the ContextDefinition class.
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::testDefaultValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @covers ::getDefaultValue
@covers ::setDefaultValue
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
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.
ContextHandlerInterface::filterPluginDefinitionsByContexts function core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php Determines plugins whose constraints are satisfied by a set of contexts.
ContextHandlerTest::providerTestFilterPluginDefinitionsByContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Provides data for testFilterPluginDefinitionsByContexts().
ContextHandlerTest::testFilterPluginDefinitionsByContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::filterPluginDefinitionsByContexts

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