Search for context

  1. Search 7.x for context
  2. Search 8.9.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
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 enable.
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
_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.