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
contextual_test_block_view_alter function core/modules/contextual/tests/modules/contextual_test/contextual_test.module Implements hook_block_view_alter().
contextual_test_contextual_links_view_alter function core/modules/contextual/tests/modules/contextual_test/contextual_test.module Implements hook_contextual_links_view_alter().
contextual_test_page_attachments_alter function core/modules/contextual/tests/modules/contextual_test/contextual_test.module Implements hook_page_attachments_alter().
contextual_toolbar function core/modules/contextual/contextual.module Implements hook_toolbar().
contextual_views_data_alter function core/modules/contextual/contextual.views.inc Implements hook_views_data_alter().
CookiesCacheContext class core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php Defines the CookiesCacheContext service, for "per cookie" caching.
CookiesCacheContext.php file core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php
CookiesCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
CookiesCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php Returns the string representation of the cache context.
CookiesCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php Returns the label of the cache context.
Current::getCacheContexts function core/modules/user/src/Plugin/views/filter/Current.php The cache contexts associated with this object.
CurrentLanguageContext class core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php Sets the current language as a context.
CurrentLanguageContext.php file core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php
CurrentLanguageContext::$languageManager property core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php The language manager.
CurrentLanguageContext::getAvailableContexts function core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php Gets all available contexts for the purposes of configuration.
CurrentLanguageContext::getRuntimeContexts function core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php Gets runtime context values for the given context IDs.
CurrentLanguageContext::__construct function core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php Constructs a new CurrentLanguageContext.
CurrentThemeCondition::getCacheContexts function core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php The cache contexts associated with this object.
CurrentUser::getCacheContexts function core/modules/user/src/Plugin/views/argument_default/CurrentUser.php The cache contexts associated with this object.
CurrentUserContext class core/modules/user/src/ContextProvider/CurrentUserContext.php Sets the current user as a context.
CurrentUserContext.php file core/modules/user/src/ContextProvider/CurrentUserContext.php
CurrentUserContext::$account property core/modules/user/src/ContextProvider/CurrentUserContext.php The current user.
CurrentUserContext::$userStorage property core/modules/user/src/ContextProvider/CurrentUserContext.php The user storage.
CurrentUserContext::getAvailableContexts function core/modules/user/src/ContextProvider/CurrentUserContext.php Gets all available contexts for the purposes of configuration.
CurrentUserContext::getRuntimeContexts function core/modules/user/src/ContextProvider/CurrentUserContext.php Gets runtime context values for the given context IDs.
CurrentUserContext::__construct function core/modules/user/src/ContextProvider/CurrentUserContext.php Constructs a new CurrentUserContext.
CurrentUserContextTest class core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php @coversDefaultClass \Drupal\user\ContextProvider\CurrentUserContext
CurrentUserContextTest.php file core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php
CurrentUserContextTest::$modules property core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php Modules to enable.
CurrentUserContextTest::setUp function core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php
CurrentUserContextTest::testGetAvailableContexts function core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php @covers ::getAvailableContexts
DefaultPluginManager::fixContextAwareDefinitions function core/lib/Drupal/Core/Plugin/DefaultPluginManager.php Fix the definitions of context-aware plugins.
DefaultPluginManager::getCacheContexts function core/lib/Drupal/Core/Plugin/DefaultPluginManager.php The cache contexts associated with this object.
DefaultPluginManagerTest::testFixContextAwareDefinitions function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php @covers ::fixContextAwareDefinitions
DefaultPluginManagerTest::testGetCacheContexts function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php @covers ::getCacheContexts
DefaultsSectionStorage::deriveContextsFromRoute function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php Derives the available plugin contexts from route values.
DefaultsSectionStorage::getContextsDuringPreview function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php Gets contexts for use during preview.
DefaultsSectionStorage::setContext function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php Set a context on this plugin.
DefaultsSectionStorageTest::testGetContexts function core/modules/layout_builder/tests/src/Kernel/DefaultsSectionStorageTest.php @covers ::getContexts
DefaultsSectionStorageTest::testGetContextsDuringPreview function core/modules/layout_builder/tests/src/Kernel/DefaultsSectionStorageTest.php @covers ::getContextsDuringPreview
DiffFormatter::$leading_context_lines property core/lib/Drupal/Component/Diff/DiffFormatter.php Number of leading context "lines" to preserve.
DiffFormatter::$trailing_context_lines property core/lib/Drupal/Component/Diff/DiffFormatter.php Number of trailing context "lines" to preserve.
DiffFormatter::contextLine function core/lib/Drupal/Core/Diff/DiffFormatter.php Creates a context line.
DiffFormatter::_context function core/lib/Drupal/Core/Diff/DiffFormatter.php
DiffFormatter::_context function core/lib/Drupal/Component/Diff/DiffFormatter.php
DisplayBlockTest::testBlockContextualLinks function core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php Tests the contextual links on a Views block.
DisplayTest::testPageContextualLinks function core/modules/views_ui/tests/src/FunctionalJavascript/DisplayTest.php Tests contextual links on Views page displays.
DisplayTest::toggleContextualTriggerVisibility function core/modules/views_ui/tests/src/FunctionalJavascript/DisplayTest.php Toggles the visibility of a contextual trigger.
DocParser::$context property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php
DocParserTest::testSyntaxErrorWithContextDescription function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php @group DDC-78

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