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 10.3.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
ContentTranslationContextualLinksTest::setUp function core/modules/content_translation/tests/src/FunctionalJavascript/ContentTranslationContextualLinksTest.php
ContentTranslationContextualLinksTest::setUp function core/modules/content_translation/tests/src/Functional/ContentTranslationContextualLinksTest.php
ContentTranslationContextualLinksTest::testContentTranslationContextualLinks function core/modules/content_translation/tests/src/FunctionalJavascript/ContentTranslationContextualLinksTest.php Tests that a contextual link is available for translating a node.
ContentTranslationContextualLinksTest::testContentTranslationContextualLinks function core/modules/content_translation/tests/src/Functional/ContentTranslationContextualLinksTest.php Tests that a contextual link is available for translating a node.
ContentTranslationManageAccessCheckTest::$cacheContextsManager property core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php The cache contexts manager.
ContentTranslationUITestBase::$defaultCacheContexts property core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php Default cache contexts expected on a non-translated entity.
content_translation.links.contextual.yml file core/modules/content_translation/content_translation.links.contextual.yml core/modules/content_translation/content_translation.links.contextual.yml
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.
context.handler service core/core.services.yml Drupal\Core\Plugin\Context\ContextHandler
Context.php file core/lib/Drupal/Core/Plugin/Context/Context.php
Context.php file core/lib/Drupal/Component/Plugin/Context/Context.php
context.repository service core/core.services.yml Drupal\Core\Plugin\Context\LazyContextRepository
Context::$cacheabilityMetadata property core/lib/Drupal/Core/Plugin/Context/Context.php The cacheability metadata.
Context::$contextData property core/lib/Drupal/Core/Plugin/Context/Context.php The data associated with the context.
Context::$contextDefinition property core/lib/Drupal/Core/Plugin/Context/Context.php The definition to which a context must conform.
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/Core/Plugin/Context/Context.php Gets the context value.
Context::getContextValue function core/lib/Drupal/Component/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/Core/Plugin/Context/Context.php Create a context object.
Context::__construct function core/lib/Drupal/Component/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.
ContextAwarePluginDefinition class core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Test class of context aware plugin definition.
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.

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