namespace Drupal\Core\Plugin\Context

Same name in other branches
  1. 10 Drupal\Core\Plugin\Context
  2. 9 Drupal\Core\Plugin\Context
  3. 11.x Drupal\Core\Plugin\Context
Object name File name Summary
Context core/lib/Drupal/Core/Plugin/Context/Context.php A Drupal specific context wrapper class.
ContextAwarePluginManagerInterface core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerInterface.php Provides an interface for plugin managers that support context-aware plugins.
ContextAwarePluginManagerTrait core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerTrait.php Provides a trait for plugin managers that support context-aware plugins.
ContextDefinition core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Defines a class for context definitions.
ContextDefinitionInterface core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php Interface to define definition objects in ContextInterface via TypedData.
ContextHandler core/lib/Drupal/Core/Plugin/Context/ContextHandler.php Provides methods to handle sets of contexts.
ContextHandlerInterface core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php Provides an interface for handling sets of contexts.
ContextInterface core/lib/Drupal/Core/Plugin/Context/ContextInterface.php Context data and definitions for plugins supporting caching and return docs.
ContextProviderInterface core/lib/Drupal/Core/Plugin/Context/ContextProviderInterface.php Defines an interface for providing plugin contexts.
ContextRepositoryInterface core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php Offers a global context repository.
EntityContext core/lib/Drupal/Core/Plugin/Context/EntityContext.php Class to provide a specific entity context.
EntityContextDefinition core/lib/Drupal/Core/Plugin/Context/EntityContextDefinition.php Defines a class to provide entity context definitions.
LazyContextRepository core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php Provides a context repository which uses context provider services.

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