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
LayoutBuilderTest::clickContextualLink function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php @todo Remove this in https://www.drupal.org/project/drupal/issues/2918718.
LayoutBuilderUiCacheContext class core/modules/layout_builder/src/Cache/LayoutBuilderUiCacheContext.php Determines if an entity is being viewed in the Layout Builder UI.
LayoutBuilderUiCacheContext.php file core/modules/layout_builder/src/Cache/LayoutBuilderUiCacheContext.php
LayoutBuilderUiCacheContext::getContext function core/modules/layout_builder/src/Cache/LayoutBuilderUiCacheContext.php
LayoutBuilderUiCacheContext::getLabel function core/modules/layout_builder/src/Cache/LayoutBuilderUiCacheContext.php
layout_builder.links.contextual.yml file core/modules/layout_builder/layout_builder.links.contextual.yml core/modules/layout_builder/layout_builder.links.contextual.yml
layout_builder_fieldblock_test.fake_view_mode_context service core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/layout_builder_fieldblock_test.services.yml Drupal\layout_builder_fieldblock_test\ContextProvider\FakeViewModeContext
layout_builder_post_update_discover_new_contextual_links function core/modules/layout_builder/layout_builder.post_update.php Clear caches due to new link added to Layout Builder's contextual links.
layout_builder_post_update_section_storage_context_definitions function core/modules/layout_builder/layout_builder.post_update.php Clear caches due to changes to section storage annotation changes.
LazyContextRepository class core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php Provides a context repository which uses context provider services.
LazyContextRepository.php file core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php
LazyContextRepository::$container property core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php The service container.
LazyContextRepository::$contextProviderServiceIDs property core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php The set of available context providers service IDs.
LazyContextRepository::$contexts property core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php The statically cached contexts.
LazyContextRepository::getAvailableContexts function core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php
LazyContextRepository::getRuntimeContexts function core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php
LazyContextRepository::__construct function core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php Constructs a LazyContextRepository object.
LazyContextRepositoryTest class core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\LazyContextRepository[[api-linebreak]]
@group context
LazyContextRepositoryTest.php file core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php
LazyContextRepositoryTest::$container property core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php The container.
LazyContextRepositoryTest::setUp function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php
LazyContextRepositoryTest::setupContextAndProvider function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php Sets up contexts and context providers.
LazyContextRepositoryTest::testGetAvailableContexts function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @covers ::getAvailableContexts[[api-linebreak]]
LazyContextRepositoryTest::testGetRuntimeContextsSingle function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @covers ::getRuntimeContexts[[api-linebreak]]
LazyContextRepositoryTest::testGetRuntimeMultipleContextProviders function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @covers ::getRuntimeContexts[[api-linebreak]]
LazyContextRepositoryTest::testGetRuntimeMultipleContextsPerService function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @covers ::getRuntimeContexts[[api-linebreak]]
LazyContextRepositoryTest::testGetRuntimeStaticCache function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @covers ::getRuntimeContexts[[api-linebreak]]
LazyContextRepositoryTest::testInvalidContextId function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @covers ::getRuntimeContexts[[api-linebreak]]
LinkCollection::$context property core/modules/jsonapi/src/JsonApiResource/LinkCollection.php The link context.
LinkCollection::getContext function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Gets the LinkCollection's context object.
LinkCollection::withContext function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Establishes a new context for a LinkCollection.
LinkCollectionNormalizer::LINK_CONTEXT constant core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php The normalizer $context key name for the context object of the link.
LlamaContextual class core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php Defines a "Llama" plugin, with a contextually enabled "llama" feature.
LlamaContextual.php file core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php
LlamaContextual::getFile function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php
LlamaContextual::isEnabled function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php
LlamaContextualAndButton class core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php Defines a "LlamaContextualAndButton" plugin, with a contextually OR toolbar
builder-enabled "llama" feature.
LlamaContextualAndButton.php file core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php
LlamaContextualAndButton::getButtons function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php
LlamaContextualAndButton::getFile function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php
LlamaContextualAndButton::isEnabled function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php
LlamaContextualAndButton::settingsForm function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php
LocalActionDefault::getCacheContexts function core/lib/Drupal/Core/Menu/LocalActionDefault.php
LocalActionDefaultTest::testGetTitleWithContext function core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php Tests the getTitle method with a translation context.
LocalAwareRedirectResponseTrait::$requestContext property core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php The request context.
LocalAwareRedirectResponseTrait::getRequestContext function core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php Returns the request context.
LocalAwareRedirectResponseTrait::setRequestContext function core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php Sets the request context.
LocaleImportFunctionalTest::getPoFileWithContext function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a .po file with context.
LocaleImportFunctionalTest::testLanguageContext function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Test msgctxt context support.
LocaleLookup::$context property core/modules/locale/src/LocaleLookup.php The msgctxt context.

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