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. |