Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
PageCacheTagsIntegrationTest::testPageCacheTags function core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php Tests that cache tags are properly bubbled up to the page level.
PageCacheTagsTestBase class core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php Provides helper methods for page cache tags tests.
PageCacheTagsTestBase.php file core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php
PageCacheTagsTestBase::setUp function core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php
PageCacheTagsTestBase::verifyDynamicPageCache function core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php Verify that when loading a given page, it's a page cache hit or miss.
PageCacheTagsTestBase::verifyPageCache function core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php Verify that when loading a given page, it's a page cache hit or miss.
PageCacheTest class core/modules/page_cache/tests/src/Functional/PageCacheTest.php Enables the page cache and tests it with various HTTP requests.
PageCacheTest.php file core/modules/page_cache/tests/src/Functional/PageCacheTest.php
PageCacheTest::$defaultTheme property core/modules/page_cache/tests/src/Functional/PageCacheTest.php The theme to install as the default for testing.
PageCacheTest::$modules property core/modules/page_cache/tests/src/Functional/PageCacheTest.php Modules to install.
PageCacheTest::getHeaders function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Retrieves only the headers for an absolute path.
PageCacheTest::setUp function core/modules/page_cache/tests/src/Functional/PageCacheTest.php
PageCacheTest::testCacheabilityOfRedirectResponses function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests that the Cache-Control header is added by FinishResponseSubscriber.
PageCacheTest::testCacheableResponseResponses function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests cacheability of a CacheableResponse.
PageCacheTest::testCacheableWithCustomCacheControl function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests a cacheable response with custom cache control.
PageCacheTest::testConditionalRequests function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests support of requests with If-Modified-Since and If-None-Match headers.
PageCacheTest::testHead function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests that HEAD requests are treated the same as GET requests.
PageCacheTest::testNoUrlNormalization function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests that URLs are cached in a not normalized form.
PageCacheTest::testPageCache function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests page caching.
PageCacheTest::testPageCacheAnonymous403404 function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests the 4xx-response cache tag is added and invalidated.
PageCacheTest::testPageCacheAnonymousRolePermissions function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests the automatic presence of the anonymous role's cache tag.
PageCacheTest::testPageCacheHeaders function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests page cache headers.
PageCacheTest::testPageCacheTags function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests that cache tags are properly persisted.
PageCacheTest::testPageCacheTagsIndependentFromCacheabilityHeaders function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests that the page cache doesn't depend on cacheability headers.
PageCacheTest::testPageCacheWithoutVaryCookie function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests the omit_vary_cookie setting.
PageCacheTest::testQueryParameterFormatRequests function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests support for different cache items with different request formats.
PageContext class core/modules/navigation/src/Plugin/TopBarItem/PageContext.php Provides the Page Context top bar item.
PageContext.php file core/modules/navigation/src/Plugin/TopBarItem/PageContext.php
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::getEntityLabel function core/modules/navigation/src/Plugin/TopBarItem/PageContext.php Retrieves the label of the given entity.
PageContext::__construct function core/modules/navigation/src/Plugin/TopBarItem/PageContext.php Constructs a new PageContext instance.
PageContextTest class core/modules/navigation/tests/src/Unit/PageContextTest.php Tests the PageContext Top Bar item build output.
PageContextTest.php file core/modules/navigation/tests/src/Unit/PageContextTest.php
PageContextTest::entityLabelProvider function core/modules/navigation/tests/src/Unit/PageContextTest.php Data provider for entity label scenarios.
PageContextTest::setUp function core/modules/navigation/tests/src/Unit/PageContextTest.php
PageContextTest::testBuildContentModerationNoPending function core/modules/navigation/tests/src/Unit/PageContextTest.php Tests content moderation build output with no pending revisions.
PageContextTest::testBuildContentModerationWithPendingActive function core/modules/navigation/tests/src/Unit/PageContextTest.php Tests the content moderation build when is active with a pending entity.
PageContextTest::testBuildEntityLabel function core/modules/navigation/tests/src/Unit/PageContextTest.php Tests the build of an entity label within the page context plugin.
PageContextTest::testBuildStatusBadge function core/modules/navigation/tests/src/Unit/PageContextTest.php Tests the status badge for published and unpublished entities.
PageContextTest::testBuildWhenNoEntityOnRoute function core/modules/navigation/tests/src/Unit/PageContextTest.php Tests the build method when no entity is present on the route.
PageContextTest::testNoValidBadge function core/modules/navigation/tests/src/Unit/PageContextTest.php Tests the behavior of a plugin with no valid badge present.
PageDisplayVariant class core/lib/Drupal/Core/Display/Attribute/PageDisplayVariant.php Defines a page display variant attribute object.
PageDisplayVariant class core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php Defines a page display variant annotation object.
PageDisplayVariant.php file core/lib/Drupal/Core/Display/Attribute/PageDisplayVariant.php
PageDisplayVariant.php file core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php
PageDisplayVariantSelectionEvent class core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php Event fired when rendering main content, to select a page display variant.
PageDisplayVariantSelectionEvent.php file core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.