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
CommentTranslationUITest::$defaultCacheContexts property core/modules/comment/tests/src/Functional/CommentTranslationUITest.php Default cache contexts expected on a non-translated entity.
ComponentLoader::getSourceContext function core/lib/Drupal/Core/Template/Loader/ComponentLoader.php
ComponentsTwigExtension::addAdditionalContext function core/lib/Drupal/Core/Template/ComponentsTwigExtension.php Appends additional context to the template based on the template id.
ComponentsTwigExtension::mergeAdditionalRenderContext function core/lib/Drupal/Core/Template/ComponentsTwigExtension.php Calculates additional context for this template.
ComputedString::getCacheContexts function core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php The cache contexts associated with this object.
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.
ConfigBase::getCacheContexts function core/lib/Drupal/Core/Config/ConfigBase.php The cache contexts associated with this object.
ConfigEntityMapper::getContextualLinkGroup function core/modules/config_translation/src/ConfigEntityMapper.php Returns the name of the contextual link group to add contextual links to.
ConfigMapperInterface::getContextualLinkGroup function core/modules/config_translation/src/ConfigMapperInterface.php Returns the name of the contextual link group to add contextual links to.
ConfigNamesMapper::getContextualLinkGroup function core/modules/config_translation/src/ConfigNamesMapper.php Returns the name of the contextual link group to add contextual links to.
ConfigOverrideIntegrationTestCacheContext class core/modules/config/tests/config_override_integration_test/src/Cache/ConfigOverrideIntegrationTestCacheContext.php A cache context service intended for the config override integration test.
ConfigOverrideIntegrationTestCacheContext.php file core/modules/config/tests/config_override_integration_test/src/Cache/ConfigOverrideIntegrationTestCacheContext.php
ConfigOverrideIntegrationTestCacheContext::getCacheableMetadata function core/modules/config/tests/config_override_integration_test/src/Cache/ConfigOverrideIntegrationTestCacheContext.php Gets the cacheability metadata for the context.
ConfigOverrideIntegrationTestCacheContext::getContext function core/modules/config/tests/config_override_integration_test/src/Cache/ConfigOverrideIntegrationTestCacheContext.php Returns the string representation of the cache context.
ConfigOverrideIntegrationTestCacheContext::getLabel function core/modules/config/tests/config_override_integration_test/src/Cache/ConfigOverrideIntegrationTestCacheContext.php Returns the label of the cache context.
ConfigTranslationContextualLink class core/modules/config_translation/src/Plugin/Menu/ContextualLink/ConfigTranslationContextualLink.php Defines a contextual link plugin with a dynamic title.
ConfigTranslationContextualLink.php file core/modules/config_translation/src/Plugin/Menu/ContextualLink/ConfigTranslationContextualLink.php
ConfigTranslationContextualLink::$mapperManager property core/modules/config_translation/src/Plugin/Menu/ContextualLink/ConfigTranslationContextualLink.php The mapper plugin discovery service.
ConfigTranslationContextualLink::getTitle function core/modules/config_translation/src/Plugin/Menu/ContextualLink/ConfigTranslationContextualLink.php Returns the localized title to be shown for this contextual link.
ConfigTranslationContextualLink::mapperManager function core/modules/config_translation/src/Plugin/Menu/ContextualLink/ConfigTranslationContextualLink.php Gets the mapper manager.
ConfigTranslationContextualLinks class core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php Provides dynamic contextual links for configuration translation.
ConfigTranslationContextualLinks.php file core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php
ConfigTranslationContextualLinks::$mapperManager property core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php The mapper plugin discovery service.
ConfigTranslationContextualLinks::create function core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php Creates a new class instance.
ConfigTranslationContextualLinks::getDerivativeDefinitions function core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php Gets the definition of all derivatives of a base plugin.
ConfigTranslationContextualLinks::__construct function core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php Constructs a new ConfigTranslationContextualLinks.
ConfigTranslationUiTest::testViewContextualLink function core/modules/config_translation/tests/src/FunctionalJavascript/ConfigTranslationUiTest.php Tests that contextual link related to views.
ConfigurableLanguageResourceTestBase::getExpectedCacheContexts function core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
ConfigurableLanguageTest::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php The expected cache contexts for the GET/HEAD response of the test entity.
config_translation.links.contextual.yml file core/modules/config_translation/config_translation.links.contextual.yml core/modules/config_translation/config_translation.links.contextual.yml
ContentEntityNormalizerTest::testNormalizeWithAccountContext function core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php Tests the normalize() method with account context passed.
ContentLanguageSettingsResourceTestBase::getExpectedCacheContexts function core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
ContentLanguageSettingsTest::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/ContentLanguageSettingsTest.php The expected cache contexts for the GET/HEAD response of the test entity.
ContentPreviewToggleTest::assertContextualLinks function core/modules/layout_builder/tests/src/FunctionalJavascript/ContentPreviewToggleTest.php Checks if contextual links are working properly.
ContentTestTranslationUITest::$defaultCacheContexts property core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php Default cache contexts expected on a non-translated entity.
ContentTranslationContextualLinks class core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php Provides dynamic contextual links for content translation.
ContentTranslationContextualLinks.php file core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php
ContentTranslationContextualLinks::$contentTranslationManager property core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php The content translation manager.
ContentTranslationContextualLinks::create function core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php Creates a new class instance.
ContentTranslationContextualLinks::getDerivativeDefinitions function core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php Gets the definition of all derivatives of a base plugin.
ContentTranslationContextualLinks::__construct function core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php Constructs a new ContentTranslationContextualLinks.
ContentTranslationContextualLinksTest class core/modules/content_translation/tests/src/FunctionalJavascript/ContentTranslationContextualLinksTest.php Tests that contextual links are available for content translation.
ContentTranslationContextualLinksTest class core/modules/content_translation/tests/src/Functional/ContentTranslationContextualLinksTest.php Tests that contextual links are available for content translation.
ContentTranslationContextualLinksTest.php file core/modules/content_translation/tests/src/FunctionalJavascript/ContentTranslationContextualLinksTest.php
ContentTranslationContextualLinksTest.php file core/modules/content_translation/tests/src/Functional/ContentTranslationContextualLinksTest.php
ContentTranslationContextualLinksTest::$bundle property core/modules/content_translation/tests/src/Functional/ContentTranslationContextualLinksTest.php The bundle being tested.
ContentTranslationContextualLinksTest::$contentType property core/modules/content_translation/tests/src/Functional/ContentTranslationContextualLinksTest.php The content type being tested.

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