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 10.3.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
ViewsTestCacheContext class core/modules/views/tests/modules/views_test_data/src/Cache/ViewsTestCacheContext.php Test cache context which uses a dynamic context coming from state.
ViewsTestCacheContext.php file core/modules/views/tests/modules/views_test_data/src/Cache/ViewsTestCacheContext.php
ViewsTestCacheContext::getCacheableMetadata function core/modules/views/tests/modules/views_test_data/src/Cache/ViewsTestCacheContext.php Gets the cacheability metadata for the context.
ViewsTestCacheContext::getContext function core/modules/views/tests/modules/views_test_data/src/Cache/ViewsTestCacheContext.php Returns the string representation of the cache context.
ViewsTestCacheContext::getLabel function core/modules/views/tests/modules/views_test_data/src/Cache/ViewsTestCacheContext.php Returns the label of the cache context.
ViewsTestCacheContextFilter class core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/ViewsTestCacheContextFilter.php Provides a test filter plugin with a custom cache context.
ViewsTestCacheContextFilter.php file core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/ViewsTestCacheContextFilter.php
ViewsTestCacheContextFilter::getCacheContexts function core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/ViewsTestCacheContextFilter.php The cache contexts associated with this object.
ViewsTestCacheContextFilter::query function core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/ViewsTestCacheContextFilter.php Add this filter to the query.
ViewsUiHooks::contextualLinksViewAlter function core/modules/views_ui/src/Hook/ViewsUiHooks.php Implements hook_contextual_links_view_alter().
views_add_contextual_links function core/modules/views/views.module Adds contextual links associated with a view display to a renderable array.
views_ui.contextual.css file core/themes/stable9/css/views_ui/views_ui.contextual.css The .contextual.css file is intended to contain styles that override declarations
in the Contextual module.
views_ui.contextual.css file core/modules/views_ui/css/views_ui.contextual.css The .contextual.css file is intended to contain styles that override declarations
in the Contextual module.
views_ui.links.contextual.yml file core/modules/views_ui/views_ui.links.contextual.yml core/modules/views_ui/views_ui.links.contextual.yml
views_ui_contextual_links_suppress function core/modules/views_ui/views_ui.module Sets a static variable for controlling whether contextual links are rendered.
views_ui_contextual_links_suppress_pop function core/modules/views_ui/views_ui.module Decrements the views_ui_contextual_links_suppress() static variable.
views_ui_contextual_links_suppress_push function core/modules/views_ui/views_ui.module Increments the views_ui_contextual_links_suppress() static variable.
ViewUI::addCacheContexts function core/modules/views_ui/src/ViewUI.php Adds cache contexts.
ViewUI::getCacheContexts function core/modules/views_ui/src/ViewUI.php The cache contexts associated with this object.
WorkspaceCacheContext class core/modules/workspaces/src/WorkspaceCacheContext.php Defines the WorkspaceCacheContext service, for "per workspace" caching.
WorkspaceCacheContext.php file core/modules/workspaces/src/WorkspaceCacheContext.php
WorkspaceCacheContext::$workspaceManager property core/modules/workspaces/src/WorkspaceCacheContext.php The workspace manager.
WorkspaceCacheContext::getCacheableMetadata function core/modules/workspaces/src/WorkspaceCacheContext.php Gets the cacheability metadata for the context.
WorkspaceCacheContext::getContext function core/modules/workspaces/src/WorkspaceCacheContext.php Returns the string representation of the cache context.
WorkspaceCacheContext::getLabel function core/modules/workspaces/src/WorkspaceCacheContext.php Returns the label of the cache context.
WorkspaceCacheContext::__construct function core/modules/workspaces/src/WorkspaceCacheContext.php Constructs a new WorkspaceCacheContext service.
WorkspaceCacheContextTest class core/modules/workspaces/tests/src/Functional/WorkspaceCacheContextTest.php Tests the workspace cache context.
WorkspaceCacheContextTest.php file core/modules/workspaces/tests/src/Functional/WorkspaceCacheContextTest.php
WorkspaceCacheContextTest::$defaultTheme property core/modules/workspaces/tests/src/Functional/WorkspaceCacheContextTest.php The theme to install as the default for testing.
WorkspaceCacheContextTest::$modules property core/modules/workspaces/tests/src/Functional/WorkspaceCacheContextTest.php Modules to install.
WorkspaceCacheContextTest::testWorkspaceCacheContext function core/modules/workspaces/tests/src/Functional/WorkspaceCacheContextTest.php Tests the 'workspace' cache context.
WorkspaceIntegrationTest::testExecuteInWorkspaceContext function core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php @covers \Drupal\workspaces\WorkspaceManager::executeInWorkspace[[api-linebreak]]
WorkspacesEntityRepository::getTranslationFromContext function core/modules/workspaces/src/WorkspacesEntityRepository.php Gets the entity translation to be used in the given context.
_contextual_id_to_links function core/modules/contextual/contextual.module Unserializes the result of _contextual_links_to_id().
_contextual_links_to_id function core/modules/contextual/contextual.module Serializes #contextual_links property value array to a string.

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