Search for context

  1. Search 7.x for context
  2. Search 9.5.x for context
  3. Search 10.3.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
CKEditorPluginContextualInterface interface core/modules/ckeditor/src/CKEditorPluginContextualInterface.php Defines an interface for contextually enabled CKEditor plugins.
CKEditorPluginContextualInterface.php file core/modules/ckeditor/src/CKEditorPluginContextualInterface.php
CKEditorPluginContextualInterface::isEnabled function core/modules/ckeditor/src/CKEditorPluginContextualInterface.php Checks if this plugin should be enabled based on the editor configuration.
ClaroLayoutBuilderTest::testContextualLinks function core/tests/Drupal/FunctionalTests/Theme/ClaroLayoutBuilderTest.php Tests the layout builder has expected contextual links with Claro.
ClaroMenuUiJavascriptTest::testBlockContextualLinks function core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroMenuUiJavascriptTest.php Intentionally empty method.
CommentCacheTagsTest::getAdditionalCacheContextsForEntity function core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php Returns the additional (non-standard) cache contexts for the tested entity.
CommentNameConstraintValidator::$context property core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php Validator 2.5 and upwards compatible execution context.
CommentResourceTestBase::getExpectedCacheContexts function core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
CommentTest::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/CommentTest.php The expected cache contexts for the GET/HEAD response of the test entity.
CommentTranslationUITest::$defaultCacheContexts property core/modules/comment/tests/src/Functional/CommentTranslationUITest.php {inheritdoc}
ComputedString::getCacheContexts function core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php The cache contexts associated with this object.
Condition::$context property core/lib/Drupal/Core/Condition/Annotation/Condition.php An array of context definitions describing the context used by the plugin.
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::renderContextualLinks function core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php Get server-rendered contextual links for the given contextual link ids.
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.
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.

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