PageContext::build |
function |
core/modules/navigation/src/Plugin/TopBarItem/PageContext.php |
Builds and returns the renderable array for this top bar item plugin. |
PageContext::create |
function |
core/modules/navigation/src/Plugin/TopBarItem/PageContext.php |
Creates an instance of the plugin. |
PageContext::getBadgeLabel |
function |
core/modules/navigation/src/Plugin/TopBarItem/PageContext.php |
Retrieves the badge label for the given entity. |
PageContext::getBadgeStatus |
function |
core/modules/navigation/src/Plugin/TopBarItem/PageContext.php |
Retrieves the badge status for the given entity. |
PageContext::__construct |
function |
core/modules/navigation/src/Plugin/TopBarItem/PageContext.php |
Constructs a new PageContext instance. |
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 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 |
Render API callback: Shows the pager cache context for type pager. |
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 |
|
PathParentCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php |
Gets the cacheability metadata for the context. |
PathParentCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php |
Returns the string representation of the cache context. |
PathParentCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php |
Returns the label of the cache context. |
PathParentCacheContextTest |
class |
core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php |
Tests Drupal\Core\Cache\Context\PathParentCacheContext. |
PathParentCacheContextTest.php |
file |
core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php |
|
PathParentCacheContextTest::providerTestGetContext |
function |
core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php |
Provides a list of paths and expected cache contexts. |
PathParentCacheContextTest::testGetContext |
function |
core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php |
Tests get context. |
Permission::getCacheContexts |
function |
core/modules/user/src/Plugin/views/access/Permission.php |
The cache contexts associated with this object. |
PirateDayCacheContext |
class |
core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php |
Defines the PirateDayCacheContext service that allows to cache the booty. |
PirateDayCacheContext.php |
file |
core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php |
|
PirateDayCacheContext::getCacheableMetadata |
function |
core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php |
Gets the cacheability metadata for the context. |
PirateDayCacheContext::getContext |
function |
core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php |
Returns the string representation of the cache context. |
PirateDayCacheContext::getLabel |
function |
core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php |
Returns the label of the cache context. |
PirateDayCacheContext::isPirateDay |
function |
core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php |
Returns whether or not it is Pirate Day. |
PirateDayCacheContext::PIRATE_DAY_MAX_AGE |
constant |
core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php |
The length of Pirate Day. It lasts 24 hours. |
PlaceholderGenerator::$cacheContextsManager |
property |
core/lib/Drupal/Core/Render/PlaceholderGenerator.php |
The cache contexts manager service. |
PlaceholderGeneratorTest::testRenderPlaceholdersDifferentSortedContextsTags |
function |
core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php |
Tests the creation of an element with a #lazy_builder callback. |
plugin.manager.menu.contextual_link |
service |
core/core.services.yml |
Drupal\Core\Menu\ContextualLinkManager |
PluralTranslation::$context |
property |
core/lib/Drupal/Core/Annotation/PluralTranslation.php |
The context the source strings belong to. |
PoItem::$context |
property |
core/lib/Drupal/Component/Gettext/PoItem.php |
The context this translation belongs to. |
PoItem::getContext |
function |
core/lib/Drupal/Component/Gettext/PoItem.php |
Gets the context this translation belongs to. |
PoItem::setContext |
function |
core/lib/Drupal/Component/Gettext/PoItem.php |
Set the context this translation belongs to. |
PoStreamReader::$context |
property |
core/lib/Drupal/Component/Gettext/PoStreamReader.php |
Parser context for the stream reader state machine. |