Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
Context::$contextDefinition property core/lib/Drupal/Component/Plugin/Context/Context.php The definition to which a context must conform.
Context::$contextValue property core/lib/Drupal/Component/Plugin/Context/Context.php The value of the context.
Context::addCacheableDependency function core/lib/Drupal/Core/Plugin/Context/Context.php Adds a dependency on an object: merges its cacheability metadata.
Context::createFromContext function core/lib/Drupal/Core/Plugin/Context/Context.php Creates a new context with a different value.
Context::getCacheContexts function core/lib/Drupal/Core/Plugin/Context/Context.php The cache contexts associated with this object.
Context::getCacheMaxAge function core/lib/Drupal/Core/Plugin/Context/Context.php The maximum age for which this object may be cached.
Context::getCacheTags function core/lib/Drupal/Core/Plugin/Context/Context.php The cache tags associated with this object.
Context::getConstraints function core/lib/Drupal/Core/Plugin/Context/Context.php Gets a list of validation constraints.
Context::getConstraints function core/lib/Drupal/Component/Plugin/Context/Context.php Gets a list of validation constraints.
Context::getContextData function core/lib/Drupal/Core/Plugin/Context/Context.php Gets the context value as typed data object.
Context::getContextDefinition function core/lib/Drupal/Core/Plugin/Context/Context.php Gets the provided definition that the context must conform to.
Context::getContextDefinition function core/lib/Drupal/Component/Plugin/Context/Context.php Gets the provided definition that the context must conform to.
Context::getContextValue function core/lib/Drupal/Component/Plugin/Context/Context.php Gets the context value.
Context::getContextValue function core/lib/Drupal/Core/Plugin/Context/Context.php Gets the context value.
Context::hasContextValue function core/lib/Drupal/Core/Plugin/Context/Context.php Returns whether the context has a value.
Context::hasContextValue function core/lib/Drupal/Component/Plugin/Context/Context.php Returns whether the context has a value.
Context::setContextValue function core/lib/Drupal/Core/Plugin/Context/Context.php Sets the context value.
Context::validate function core/lib/Drupal/Core/Plugin/Context/Context.php Validates the set context value.
Context::validate function core/lib/Drupal/Component/Plugin/Context/Context.php Validates the set context value.
Context::__construct function core/lib/Drupal/Component/Plugin/Context/Context.php Create a context object.
Context::__construct function core/lib/Drupal/Core/Plugin/Context/Context.php Create a context object.
ContextAwarePluginAssignmentTrait trait core/lib/Drupal/Core/Plugin/ContextAwarePluginAssignmentTrait.php Handles context assignments for context-aware plugins.
ContextAwarePluginAssignmentTrait.php file core/lib/Drupal/Core/Plugin/ContextAwarePluginAssignmentTrait.php
ContextAwarePluginAssignmentTrait::addContextAssignmentElement function core/lib/Drupal/Core/Plugin/ContextAwarePluginAssignmentTrait.php Builds a form element for assigning a context to a given slot.
ContextAwarePluginAssignmentTrait::contextHandler function core/lib/Drupal/Core/Plugin/ContextAwarePluginAssignmentTrait.php Wraps the context handler.
ContextAwarePluginAssignmentTrait::t function core/lib/Drupal/Core/Plugin/ContextAwarePluginAssignmentTrait.php Ensures the t() method is available.
ContextAwarePluginBase class core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php Base class for plugins that are context aware.
ContextAwarePluginBase class core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Base class for plugins that are context aware.
ContextAwarePluginBase.php file core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
ContextAwarePluginBase.php file core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php
ContextAwarePluginBase::$context property core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php The data objects representing the context of this plugin.
ContextAwarePluginBase::$contexts property core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Data objects representing the contexts passed in the plugin configuration.
ContextAwarePluginBase::contextHandler function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php Wraps the context handler.
ContextAwarePluginBase::createContextFromConfiguration function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php
ContextAwarePluginBase::createContextFromConfiguration function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Creates context objects from any context mappings in configuration.
ContextAwarePluginBase::getCacheContexts function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php The cache contexts associated with this object.
ContextAwarePluginBase::getCacheMaxAge function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php The maximum age for which this object may be cached.
ContextAwarePluginBase::getCacheTags function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php The cache tags associated with this object.
ContextAwarePluginBase::getContext function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php This code is identical to the Component in order to pick up a different
Context class.
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::getContextDefinition function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php
ContextAwarePluginBase::getContextDefinitions function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php
ContextAwarePluginBase::getContextDefinitions function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Gets the context definitions of the plugin.
ContextAwarePluginBase::getContextMapping function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php Gets a mapping of the expected assignment names to their context names.
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::setContext function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php Set a context on this plugin.

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