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
AdminPathConfigEntityConverter::$adminContext property core/lib/Drupal/Core/ParamConverter/AdminPathConfigEntityConverter.php The route admin context to determine whether a route is an admin one.
Annotation for context definition group core/lib/Drupal/Core/Annotation/ContextDefinition.php Describes how to use ContextDefinition annotation.
Block::$context_definitions property core/lib/Drupal/Core/Block/Annotation/Block.php An array of context definitions describing the context used by the plugin.
BlockContentTest::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/BlockContentTest.php
BlockTest::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/BlockTest.php
BookNavigationBlock::getCacheContexts function core/modules/book/src/Plugin/Block/BookNavigationBlock.php
BookNavigationCacheContext class core/modules/book/src/Cache/BookNavigationCacheContext.php Defines the book navigation cache context service.
BookNavigationCacheContext.php file core/modules/book/src/Cache/BookNavigationCacheContext.php
BookNavigationCacheContext::$routeMatch property core/modules/book/src/Cache/BookNavigationCacheContext.php The current route match.
BookNavigationCacheContext::getCacheableMetadata function core/modules/book/src/Cache/BookNavigationCacheContext.php
BookNavigationCacheContext::getContext function core/modules/book/src/Cache/BookNavigationCacheContext.php
BookNavigationCacheContext::getLabel function core/modules/book/src/Cache/BookNavigationCacheContext.php
BookNavigationCacheContext::__construct function core/modules/book/src/Cache/BookNavigationCacheContext.php Constructs a new BookNavigationCacheContext service.
BookTest::testBookNavigationCacheContext function core/modules/book/tests/src/Functional/BookTest.php Tests the book navigation cache context.
cache_context.route.book_navigation service core/modules/book/book.services.yml Drupal\book\Cache\BookNavigationCacheContext
CommentTest::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/CommentTest.php
Condition::$context_definitions property core/lib/Drupal/Core/Condition/Annotation/Condition.php An array of context definitions describing the context used by the plugin.
ConditionPluginCollection::$conditionContexts property core/lib/Drupal/Core/Condition/ConditionPluginCollection.php An array of collected contexts for conditions.
ConditionPluginCollection::addContext function core/lib/Drupal/Core/Condition/ConditionPluginCollection.php Sets the condition context for a given name.
ConditionPluginCollection::getConditionContexts function core/lib/Drupal/Core/Condition/ConditionPluginCollection.php Gets the values for all defined contexts.
ConfigurableLanguageResourceTestBase::getExpectedCacheContexts function core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php
ConfigurableLanguageTest::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php
ContentLanguageSettingsResourceTestBase::getExpectedCacheContexts function core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsResourceTestBase.php
ContentLanguageSettingsTest::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/ContentLanguageSettingsTest.php
Context class core/lib/Drupal/Component/Plugin/Context/Context.php A generic context class for wrapping data a plugin needs to operate.
Context class core/lib/Drupal/Core/Plugin/Context/Context.php A Drupal specific context wrapper class.
Context.php file core/lib/Drupal/Core/Plugin/Context/Context.php
Context.php file core/lib/Drupal/Component/Plugin/Context/Context.php
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
Context::createFromContext function core/lib/Drupal/Core/Plugin/Context/Context.php
Context::getCacheContexts function core/lib/Drupal/Core/Plugin/Context/Context.php
Context::getCacheMaxAge function core/lib/Drupal/Core/Plugin/Context/Context.php
Context::getCacheTags function core/lib/Drupal/Core/Plugin/Context/Context.php
Context::getConstraints function core/lib/Drupal/Component/Plugin/Context/Context.php
Context::getConstraints function core/lib/Drupal/Core/Plugin/Context/Context.php
Context::getContextData function core/lib/Drupal/Core/Plugin/Context/Context.php
Context::getContextDefinition function core/lib/Drupal/Component/Plugin/Context/Context.php
Context::getContextDefinition function core/lib/Drupal/Core/Plugin/Context/Context.php
Context::getContextValue function core/lib/Drupal/Component/Plugin/Context/Context.php
Context::getContextValue function core/lib/Drupal/Core/Plugin/Context/Context.php
Context::hasContextValue function core/lib/Drupal/Core/Plugin/Context/Context.php
Context::hasContextValue function core/lib/Drupal/Component/Plugin/Context/Context.php
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
Context::validate function core/lib/Drupal/Component/Plugin/Context/Context.php

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