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 |
Default cache contexts expected on a non-translated entity. |
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. |
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. |
OptionalContextConditionTest.php |
file |
core/tests/Drupal/KernelTests/Core/Plugin/Condition/OptionalContextConditionTest.php |
|
OptionalContextConditionTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Plugin/Condition/OptionalContextConditionTest.php |
Modules to install. |
OptionalContextConditionTest::testContextAvailable |
function |
core/tests/Drupal/KernelTests/Core/Plugin/Condition/OptionalContextConditionTest.php |
Tests with both contexts mapped to the same user. |
OptionalContextConditionTest::testContextMissing |
function |
core/tests/Drupal/KernelTests/Core/Plugin/Condition/OptionalContextConditionTest.php |
Tests with both contexts mapped to the same user. |
OptionalContextConditionTest::testContextNoValue |
function |
core/tests/Drupal/KernelTests/Core/Plugin/Condition/OptionalContextConditionTest.php |
Tests with both contexts mapped to the same user. |
OverridesSectionStorage::deriveContextsFromRoute |
function |
core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php |
Derives the available plugin contexts from route values. |
OverridesSectionStorage::getContextsDuringPreview |
function |
core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php |
Gets contexts for use during preview. |
OverridesSectionStorageTest::testDeriveContextsFromRoute |
function |
core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php |
@covers ::deriveContextsFromRoute |
OverridesSectionStorageTest::testGetContexts |
function |
core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php |
@covers ::getContexts |
OverridesSectionStorageTest::testGetContextsDuringPreview |
function |
core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php |
@covers ::getContextsDuringPreview |
PageDisplayVariantSelectionEvent::$contexts |
property |
core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php |
An array of collected contexts to pass to the page display variant. |
PageDisplayVariantSelectionEvent::getContexts |
function |
core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php |
Gets the contexts that were set during event dispatch. |
PageDisplayVariantSelectionEvent::setContexts |
function |
core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php |
Sets the contexts to be passed to the page display variant. |
PageRenderTest::testHtmlRendererAttachmentsRenderContext |
function |
core/modules/system/tests/src/Kernel/Common/PageRenderTest.php |
Tests HtmlRenderer::invokePageAttachmentHooks in a render context. |
PagersCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php |
Defines a cache context for "per page in a pager" caching. |
PagersCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php |
|
PagersCacheContext::$pagerParams |
property |
core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php |
The pager parameters. |
PagersCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php |
Gets the cacheability metadata for the context based on the parameter value. |
PagersCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php |
|
PagersCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php |
Returns the label of the cache context. |
PagersCacheContext::__construct |
function |
core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php |
Constructs a new PagersCacheContext object. |
PagerTest::testPagerQueryParametersAndCacheContext |
function |
core/modules/system/tests/src/Functional/Pager/PagerTest.php |
Tests pager query parameters and cache context. |
PagerTestController::showPagerCacheContext |
function |
core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php |
#pre_render callback for #type => pager that shows the pager cache context. |
PathBasedBreadcrumbBuilder::$context |
property |
core/modules/system/src/PathBasedBreadcrumbBuilder.php |
The router request context. |
PathBasedBreadcrumbBuilderTest::$context |
property |
core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php |
The mocked route request context. |
PathCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/PathCacheContext.php |
Defines the PathCacheContext service, for "per URL path" caching. |
PathCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/PathCacheContext.php |
|
PathCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/PathCacheContext.php |
Gets the cacheability metadata for the context. |
PathCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/PathCacheContext.php |
Returns the string representation of the cache context. |
PathCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/PathCacheContext.php |
Returns the label of the cache context. |
PathParentCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php |
Defines a cache context service for path parents. |
PathParentCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php |
|