Search for context

  1. Search 7.x for context
  2. Search 8.9.x for context
  3. Search 10.3.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
ContextAwarePluginBase::createContextFromConfiguration function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php
ContextAwarePluginBase::getContext function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Gets a defined context.
ContextAwarePluginBase::getContextDefinition function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Gets a specific context definition of the plugin.
ContextAwarePluginBase::getContextDefinitions function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Gets the context definitions of the plugin.
ContextAwarePluginBase::getContexts function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Gets the defined contexts.
ContextAwarePluginBase::getContextValue function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Gets the value for a defined context.
ContextAwarePluginBase::getContextValues function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Gets the values for all defined contexts.
ContextAwarePluginBase::setContext function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Set a context on this plugin.
ContextAwarePluginBase::setContextValue function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Sets the value for a defined context.
ContextAwarePluginBase::validateContexts function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Validates the set values for the defined contexts.
ContextAwarePluginBase::__construct function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Overrides \Drupal\Component\Plugin\PluginBase::__construct().
ContextAwarePluginBaseTest class core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php @coversDefaultClass \Drupal\Core\Plugin\ContextAwarePluginBase
ContextAwarePluginBaseTest.php file core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php
ContextAwarePluginBaseTest::$plugin property core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php The plugin instance under test.
ContextAwarePluginBaseTest::setUp function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php
ContextAwarePluginBaseTest::testGetContextDefinition function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php @covers ::getContextDefinition
ContextAwarePluginBaseTest::testGetContextDefinitions function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php @covers ::getContextDefinitions
ContextAwarePluginBaseTest::testGetContextValue function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php @covers ::getContextValue
ContextAwarePluginBaseTest::testSetContextValue function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php @covers ::setContextValue
ContextAwarePluginDefinition class core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php
ContextAwarePluginDefinitionInterface interface core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php Provides an interface for plugin definitions which use contexts.
ContextAwarePluginDefinitionInterface.php file core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php
ContextAwarePluginDefinitionInterface::addContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php Adds a context to this plugin definition.
ContextAwarePluginDefinitionInterface::getContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php Returns a particular context definition for this plugin.
ContextAwarePluginDefinitionInterface::getContextDefinitions function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php Returns all context definitions for this plugin.
ContextAwarePluginDefinitionInterface::hasContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php Checks if the plugin defines a particular context.
ContextAwarePluginDefinitionInterface::removeContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php Removes a context definition from this plugin.
ContextAwarePluginDefinitionTrait trait core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php Provides a trait for context-aware object-based plugin definitions.
ContextAwarePluginDefinitionTrait.php file core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php
ContextAwarePluginDefinitionTrait::$contextDefinitions property core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php The context definitions for this plugin definition.
ContextAwarePluginDefinitionTrait::addContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::addContextDefinition().
ContextAwarePluginDefinitionTrait::getContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::getContextDefinition().
ContextAwarePluginDefinitionTrait::getContextDefinitions function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::getContextDefinitions().
ContextAwarePluginDefinitionTrait::hasContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::hasContextDefinition().
ContextAwarePluginDefinitionTrait::removeContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::removeContextDefinition().
ContextAwarePluginInterface interface core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php An override of ContextAwarePluginInterface for documentation purposes.
ContextAwarePluginInterface interface core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Interface for defining context aware plugins.
ContextAwarePluginInterface.php file core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php
ContextAwarePluginInterface.php file core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php
ContextAwarePluginInterface::getContext function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets a defined context.
ContextAwarePluginInterface::getContextDefinition function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets a specific context definition of the plugin.
ContextAwarePluginInterface::getContextDefinition function core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php Gets a specific context definition of the plugin.
ContextAwarePluginInterface::getContextDefinitions function core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php Gets the context definitions of the plugin.
ContextAwarePluginInterface::getContextDefinitions function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets the context definitions of the plugin.
ContextAwarePluginInterface::getContextMapping function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets a mapping of the expected assignment names to their context names.
ContextAwarePluginInterface::getContexts function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets the defined contexts.
ContextAwarePluginInterface::getContextValue function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets the value for a defined context.
ContextAwarePluginInterface::getContextValues function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets the values for all defined contexts.
ContextAwarePluginInterface::setContext function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Set a context on this plugin.
ContextAwarePluginInterface::setContextMapping function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Sets a mapping of the expected assignment names to their context names.

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