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
ContextDefinition::getDescription function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Gets a human readable description.
ContextDefinition::getLabel function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Gets a human readable label.
ContextDefinition::getSampleValues function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Returns typed data objects representing this context definition.
ContextDefinition::isMultiple function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Determines whether the data is multi-valued, i.e. a list of data items.
ContextDefinition::isRequired function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Determines whether the context is required.
ContextDefinition::isSatisfiedBy function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Determines if this definition is satisfied by a context object.
ContextDefinition::setConstraints function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Sets the array of validation constraints.
ContextDefinition::setDataType function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Sets the data type needed by the context.
ContextDefinition::setDefaultValue function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Sets the default data value.
ContextDefinition::setDescription function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Sets the human readable description.
ContextDefinition::setLabel function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Sets the human readable label.
ContextDefinition::setMultiple function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Sets whether the data is multi-valued.
ContextDefinition::setRequired function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Sets whether the data is required.
ContextDefinition::__construct function core/lib/Drupal/Core/Annotation/ContextDefinition.php Constructs a new context definition object.
ContextDefinition::__construct function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Constructs a new context definition object.
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/Core/Plugin/Context/ContextDefinitionInterface.php
ContextDefinitionInterface.php file core/lib/Drupal/Component/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/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
@group Plugin
ContextDefinitionTest class core/tests/Drupal/KernelTests/Core/Plugin/Annotation/ContextDefinitionTest.php @coversDefaultClass \Drupal\Core\Annotation\ContextDefinition
@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 install.
ContextDefinitionTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/Annotation/ContextDefinitionTest.php Modules to install.

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