NodeAccessGrantsCacheContext.php |
file |
core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php |
|
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 the 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. |
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::$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 enable. |
NodeAccessGrantsCacheContextTest::$noAccessUser |
property |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
User without permission to view content. |
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. |
NodeCacheTagsTest::getDefaultCacheContexts |
function |
core/modules/node/tests/src/Functional/NodeCacheTagsTest.php |
Gets the default cache contexts for rendered entities. |
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 |
|
NodeContextualLinksTest.php |
file |
core/modules/node/tests/src/Functional/Views/NodeContextualLinksTest.php |
|
NodeContextualLinksTest::$defaultTheme |
property |
core/modules/node/tests/src/Functional/NodeContextualLinksTest.php |
The theme to install as the default for testing. |
NodeContextualLinksTest::$defaultTheme |
property |
core/modules/node/tests/src/Functional/Views/NodeContextualLinksTest.php |
The theme to install as the default for testing. |
NodeContextualLinksTest::$modules |
property |
core/modules/node/tests/src/Functional/NodeContextualLinksTest.php |
Modules to enable. |
NodeContextualLinksTest::$modules |
property |
core/modules/node/tests/src/Functional/Views/NodeContextualLinksTest.php |
Modules to enable. |
NodeContextualLinksTest::testNodeContextualLinks |
function |
core/modules/node/tests/src/Functional/NodeContextualLinksTest.php |
Tests contextual links. |
NodeContextualLinksTest::testPageWithDisabledContextualModule |
function |
core/modules/node/tests/src/Functional/Views/NodeContextualLinksTest.php |
Tests if the node page works if Contextual Links is disabled. |
NodeListBuilderTest::testCacheContexts |
function |
core/modules/node/tests/src/Kernel/NodeListBuilderTest.php |
Tests that the correct cache contexts are set. |
NodeRevisionsTest::renderContextualLinks |
function |
core/modules/node/tests/src/Functional/NodeRevisionsTest.php |
Gets server-rendered contextual links for the given contextual links IDs. |
NodeRouteContext |
class |
core/modules/node/src/ContextProvider/NodeRouteContext.php |
Sets the current node as a context on node routes. |
NodeRouteContext.php |
file |
core/modules/node/src/ContextProvider/NodeRouteContext.php |
|
NodeRouteContext::$routeMatch |
property |
core/modules/node/src/ContextProvider/NodeRouteContext.php |
The route match object. |
NodeRouteContext::getAvailableContexts |
function |
core/modules/node/src/ContextProvider/NodeRouteContext.php |
Gets all available contexts for the purposes of configuration. |
NodeRouteContext::getRuntimeContexts |
function |
core/modules/node/src/ContextProvider/NodeRouteContext.php |
Gets runtime context values for the given context IDs. |
NodeRouteContext::__construct |
function |
core/modules/node/src/ContextProvider/NodeRouteContext.php |
Constructs a new NodeRouteContext. |
NodeTranslationUITest::$defaultCacheContexts |
property |
core/modules/node/tests/src/Functional/NodeTranslationUITest.php |
{inheritdoc} |
NoOptimizeCacheContext |
class |
core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php |
Non-optimizable context class. |
NoOptimizeCacheContext::getCacheableMetadata |
function |
core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php |
Gets the cacheability metadata for the context. |
NoOptimizeCacheContext::getContext |
function |
core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php |
Returns the string representation of the cache context. |
NoOptimizeCacheContext::getLabel |
function |
core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php |
Returns the label of the cache context. |
NullGenerator::getContext |
function |
core/lib/Drupal/Core/Routing/NullGenerator.php |
|
NullGenerator::setContext |
function |
core/lib/Drupal/Core/Routing/NullGenerator.php |
|
NumericArgument::getContextDefinition |
function |
core/modules/views/src/Plugin/views/argument/NumericArgument.php |
Returns a context definition for this argument. |
NumericArgumentValidator::getContextDefinition |
function |
core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php |
Returns a context definition for this argument. |
OffCanvasTestBase::assertAllContextualLinksLoaded |
function |
core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php |
Assert all contextual link areas have be loaded. |
OptionalContextCondition |
class |
core/modules/system/tests/modules/condition_test/src/Plugin/Condition/OptionalContextCondition.php |
Provides a condition with an optional node context. |
OptionalContextCondition.php |
file |
core/modules/system/tests/modules/condition_test/src/Plugin/Condition/OptionalContextCondition.php |
|
OptionalContextCondition::evaluate |
function |
core/modules/system/tests/modules/condition_test/src/Plugin/Condition/OptionalContextCondition.php |
Evaluates the condition and returns TRUE or FALSE accordingly. |
OptionalContextCondition::summary |
function |
core/modules/system/tests/modules/condition_test/src/Plugin/Condition/OptionalContextCondition.php |
Provides a human readable summary of the condition's configuration. |
OptionalContextConditionTest |
class |
core/tests/Drupal/KernelTests/Core/Plugin/Condition/OptionalContextConditionTest.php |
Tests a condition with optional context. |