| MultipleStaticContext |
class |
core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php |
Sets multiple contexts for a static value. |
| MultipleStaticContext.php |
file |
core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php |
|
| MultipleStaticContext::$account |
property |
core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php |
The current user. |
| MultipleStaticContext::$userStorage |
property |
core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php |
The user storage. |
| MultipleStaticContext::getAvailableContexts |
function |
core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php |
Gets all available contexts for the purposes of configuration. |
| MultipleStaticContext::getRuntimeContexts |
function |
core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php |
Gets runtime context values for the given context IDs. |
| MultipleStaticContext::__construct |
function |
core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php |
Constructs a new MultipleStaticContext. |
| NavigationMenuBlock::getCacheContexts |
function |
core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php |
|
| NavigationSectionStorage::deriveContextsFromRoute |
function |
core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php |
Derives the available plugin contexts from route values. |
| NavigationSectionStorage::getContextMapping |
function |
core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php |
Gets a mapping of the expected assignment names to their context names. |
| NavigationSectionStorage::getContextsDuringPreview |
function |
core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php |
Gets contexts for use during preview. |
| NavigationTopBarPageContextTest |
class |
core/modules/navigation/tests/src/Functional/NavigationTopBarPageContextTest.php |
Tests the PageContext top bar item functionality. |
| NavigationTopBarPageContextTest.php |
file |
core/modules/navigation/tests/src/Functional/NavigationTopBarPageContextTest.php |
|
| NavigationTopBarPageContextTest::$adminUser |
property |
core/modules/navigation/tests/src/Functional/NavigationTopBarPageContextTest.php |
An admin user to configure the test environment. |
| NavigationTopBarPageContextTest::$defaultTheme |
property |
core/modules/navigation/tests/src/Functional/NavigationTopBarPageContextTest.php |
The theme to install as the default for testing. |
| NavigationTopBarPageContextTest::$modules |
property |
core/modules/navigation/tests/src/Functional/NavigationTopBarPageContextTest.php |
Modules to install. |
| NavigationTopBarPageContextTest::setUp |
function |
core/modules/navigation/tests/src/Functional/NavigationTopBarPageContextTest.php |
|
| NavigationTopBarPageContextTest::testPageContextTopBarItemNode |
function |
core/modules/navigation/tests/src/Functional/NavigationTopBarPageContextTest.php |
Tests the PageContext top bar item output for a published node. |
| node.links.contextual.yml |
file |
core/modules/node/node.links.contextual.yml |
core/modules/node/node.links.contextual.yml |
| node.node_route_context |
service |
core/modules/node/node.services.yml |
Drupal\node\ContextProvider\NodeRouteContext |
| Node::getCacheContexts |
function |
core/modules/node/src/Plugin/views/argument_default/Node.php |
The cache contexts associated with this object. |
| NodeAccessCacheabilityTest::testNodeAccessCacheContext |
function |
core/modules/node/tests/src/Functional/NodeAccessCacheabilityTest.php |
Tests that the user cache contexts are correctly set. |
| NodeAccessGrantsCacheContext |
class |
core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php |
Defines the node access view cache context service. |
| NodeAccessGrantsCacheContext.php |
file |
core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php |
|
| NodeAccessGrantsCacheContext::$nodeGrantsHelper |
property |
core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php |
The node grants helper service. |
| NodeAccessGrantsCacheContext::checkNodeGrants |
function |
core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php |
Checks the node grants for the given operation. |
| NodeAccessGrantsCacheContext::getCacheableMetadata |
function |
core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php |
Gets cacheability metadata for the context based on the parameter value. |
| NodeAccessGrantsCacheContext::getContext |
function |
core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php |
Returns the string representation of the cache context. |
| NodeAccessGrantsCacheContext::getLabel |
function |
core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php |
Returns the label of the cache context. |
| NodeAccessGrantsCacheContext::__construct |
function |
core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php |
Constructs a new UserCacheContextBase class. |
| NodeAccessGrantsCacheContextTest |
class |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
Tests the node access grants cache context service. |
| NodeAccessGrantsCacheContextTest.php |
file |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
|
| NodeAccessGrantsCacheContextTest::$accessUser |
property |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
User with permission to view content. |
| NodeAccessGrantsCacheContextTest::$adminUser |
property |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
User with permission to bypass node access. |
| NodeAccessGrantsCacheContextTest::$defaultTheme |
property |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
The theme to install as the default for testing. |
| NodeAccessGrantsCacheContextTest::$modules |
property |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
Modules to install. |
| NodeAccessGrantsCacheContextTest::$noAccessUser |
property |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
User without permission to view content. |
| NodeAccessGrantsCacheContextTest::$noAccessUser2 |
property |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
User without permission to view content. |
| NodeAccessGrantsCacheContextTest::$userMapping |
property |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
|
| NodeAccessGrantsCacheContextTest::assertUserCacheContext |
function |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
Asserts that for each given user, the expected cache context is returned. |
| NodeAccessGrantsCacheContextTest::setUp |
function |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
|
| NodeAccessGrantsCacheContextTest::testCacheContext |
function |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
Tests NodeAccessGrantsCacheContext::getContext(). |
| NodeCacheTagsTest::getAdditionalCacheContextsForEntity |
function |
core/modules/node/tests/src/Functional/NodeCacheTagsTest.php |
Returns the additional (non-standard) cache contexts for the tested entity. |
| NodeCacheTagsTest::getAdditionalCacheContextsForEntityListing |
function |
core/modules/node/tests/src/Functional/NodeCacheTagsTest.php |
Returns the additional cache tags for the tested entity's listing by type. |
| NodeContextTestBlock |
class |
core/modules/node/tests/modules/node_block_test/src/Plugin/Block/NodeContextTestBlock.php |
Provides a 'Node Context Test' block. |
| NodeContextTestBlock.php |
file |
core/modules/node/tests/modules/node_block_test/src/Plugin/Block/NodeContextTestBlock.php |
|
| NodeContextTestBlock::build |
function |
core/modules/node/tests/modules/node_block_test/src/Plugin/Block/NodeContextTestBlock.php |
Builds and returns the renderable array for this block plugin. |
| NodeContextualLinksTest |
class |
core/modules/node/tests/src/Functional/NodeContextualLinksTest.php |
Tests views contextual links on nodes. |
| NodeContextualLinksTest |
class |
core/modules/node/tests/src/Functional/Views/NodeContextualLinksTest.php |
Tests views contextual links on nodes. |
| NodeContextualLinksTest.php |
file |
core/modules/node/tests/src/Functional/NodeContextualLinksTest.php |
|