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
SiteInformationForm::$requestContext property core/modules/system/src/Form/SiteInformationForm.php The request context.
SortPluginBase::getCacheContexts function core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SqlBase::getCacheContexts function core/modules/views/src/Plugin/views/pager/SqlBase.php
Status::getCacheContexts function core/modules/media/src/Plugin/views/filter/Status.php The cache contexts associated with this object.
Status::getCacheContexts function core/modules/node/src/Plugin/views/filter/Status.php
StringArgument::getContextDefinition function core/modules/views/src/Plugin/views/argument/StringArgument.php
StringBase::$context property core/modules/locale/src/StringBase.php The string context.
StringLoader::getSourceContext function core/lib/Drupal/Core/Template/Loader/StringLoader.php
SupernovaGenerator::getContext function core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php
SupernovaGenerator::setContext function core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php
SystemMenuBlock::getCacheContexts function core/modules/system/src/Plugin/Block/SystemMenuBlock.php
Table::getCacheContexts function core/modules/views/src/Plugin/views/style/Table.php
TableSort::getContextFromRequest function core/lib/Drupal/Core/Utility/TableSort.php Initializes the table sort context.
taxonomy.links.contextual.yml file core/modules/taxonomy/taxonomy.links.contextual.yml core/modules/taxonomy/taxonomy.links.contextual.yml
TaxonomyIndexTid::getCacheContexts function core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php
TermContextualLinksTest class core/modules/taxonomy/tests/src/Functional/TermContextualLinksTest.php Tests views contextual links on terms.
TermContextualLinksTest.php file core/modules/taxonomy/tests/src/Functional/TermContextualLinksTest.php
TermContextualLinksTest::$defaultTheme property core/modules/taxonomy/tests/src/Functional/TermContextualLinksTest.php
TermContextualLinksTest::$modules property core/modules/taxonomy/tests/src/Functional/TermContextualLinksTest.php
TermContextualLinksTest::testTermContextualLinks function core/modules/taxonomy/tests/src/Functional/TermContextualLinksTest.php Tests contextual links.
TermResourceTestBase::getExpectedCacheContexts function core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php
TermTest::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/TermTest.php
TestCacheableDependency::getCacheContexts function core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php
TestCacheBlock::getCacheContexts function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php
TestConfigurableContextAwarePluginInterface interface core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php
TestContextAwareBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareBlock.php Provides a context-aware block.
TestContextAwareBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareBlock.php
TestContextAwareBlock::blockAccess function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareBlock.php
TestContextAwareBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareBlock.php
TestContextAwareBlockInterface interface core/modules/block/tests/src/Unit/BlockRepositoryTest.php
TestContextAwareNoValidContextOptionsBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareNoValidContextOptionsBlock.php Provides a context-aware block that uses a not-passed, non-required context.
TestContextAwareNoValidContextOptionsBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareNoValidContextOptionsBlock.php
TestContextAwareNoValidContextOptionsBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareNoValidContextOptionsBlock.php
TestContextAwarePlugin class core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php Provides a test implementation of a context-aware plugin.
TestContextAwarePlugin class core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php
TestContextAwarePlugin::$setContextCalled property core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php Indicates if ::setContext() has been called or not.
TestContextAwarePlugin::setContext function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php
TestContextAwareUnsatisfiedBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareUnsatisfiedBlock.php Provides a context-aware block.
TestContextAwareUnsatisfiedBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareUnsatisfiedBlock.php
TestContextAwareUnsatisfiedBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareUnsatisfiedBlock.php
TestContextualLink class core/modules/system/tests/modules/menu_test/src/Plugin/Menu/ContextualLink/TestContextualLink.php Defines a contextual link plugin with a dynamic title from user input.
TestContextualLink.php file core/modules/system/tests/modules/menu_test/src/Plugin/Menu/ContextualLink/TestContextualLink.php
TestContextualLink::getTitle function core/modules/system/tests/modules/menu_test/src/Plugin/Menu/ContextualLink/TestContextualLink.php
TestControllers::testContextual function core/modules/system/tests/modules/menu_test/src/TestControllers.php Prints out test data with contextual links.
TestDiscoveryCacheContext class core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php Defines the TestDiscoveryCacheContext service.
TestDiscoveryCacheContext.php file core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php
TestDiscoveryCacheContext::$hash property core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php The hash of discovered test information.
TestDiscoveryCacheContext::$privateKey property core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php The private key service.
TestDiscoveryCacheContext::$testDiscovery property core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php The test discovery service.
TestDiscoveryCacheContext::getCacheableMetadata function core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php

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