BubbleableMetadata |
class |
core/lib/Drupal/Core/Render/BubbleableMetadata.php |
Value object used for bubbleable rendering metadata. |
RenderContext::bubble |
function |
core/lib/Drupal/Core/Render/RenderContext.php |
Bubbles the stack. |
BubbleableMetadataTest |
class |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
@coversDefaultClass \Drupal\Core\Render\BubbleableMetadata
@group Render |
BubbleableMetadata.php |
file |
core/lib/Drupal/Core/Render/BubbleableMetadata.php |
|
BubbleableMetadata::merge |
function |
core/lib/Drupal/Core/Render/BubbleableMetadata.php |
Creates a new bubbleable metadata object by merging this one with another. |
BubbleableMetadataTest.php |
file |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
|
BubbleableMetadata::applyTo |
function |
core/lib/Drupal/Core/Render/BubbleableMetadata.php |
Applies the values of this bubbleable metadata object to a render array. |
UrlBubbleableMetadataBubblingTest |
class |
core/modules/system/tests/src/Functional/Render/UrlBubbleableMetadataBubblingTest.php |
Tests that URL bubbleable metadata is correctly bubbled. |
BubbleableMetadataTest::testMerge |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
@covers ::merge
@dataProvider providerTestMerge |
BubbleableMetadataTest::testApplyTo |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
@covers ::applyTo
@dataProvider providerTestApplyTo |
UrlTest::testLinkBubbleableMetadata |
function |
core/modules/system/tests/src/Kernel/Common/UrlTest.php |
Tests that #type=link bubbles outbound route/path processors' metadata. |
BubbleableMetadata::createFromObject |
function |
core/lib/Drupal/Core/Render/BubbleableMetadata.php |
Creates a bubbleable metadata object from a depended object. |
BubbleableMetadata::mergeAttachments |
function |
core/lib/Drupal/Core/Render/BubbleableMetadata.php |
Merges two attachments arrays (which live under the '#attached' key). |
MetadataBubblingUrlGenerator::bubble |
function |
core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php |
Bubbles the bubbleable metadata to the current render context. |
UrlBubbleableMetadataBubblingTest.php |
file |
core/modules/system/tests/src/Functional/Render/UrlBubbleableMetadataBubblingTest.php |
|
UrlBubbleableMetadataBubblingTest::setUp |
function |
core/modules/system/tests/src/Functional/Render/UrlBubbleableMetadataBubblingTest.php |
|
BubbleableMetadataTest::providerTestMerge |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
Provides test data for testMerge(). |
BubbleableMetadata::createFromRenderArray |
function |
core/lib/Drupal/Core/Render/BubbleableMetadata.php |
Creates a bubbleable metadata object with values taken from a render array. |
RendererInterface::mergeBubbleableMetadata |
function |
core/lib/Drupal/Core/Render/RendererInterface.php |
Merges the bubbleable rendering metadata o/t 2nd render array with the 1st. |
BubbleableMetadataTest::testAddAttachments |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
@covers ::addAttachments
@covers ::setAttachments
@dataProvider providerTestAddAttachments |
BubbleableMetadata::addCacheableDependency |
function |
core/lib/Drupal/Core/Render/BubbleableMetadata.php |
|
UrlBubbleableMetadataBubblingTest::$modules |
property |
core/modules/system/tests/src/Functional/Render/UrlBubbleableMetadataBubblingTest.php |
Modules to enable. |
BubbleableMetadataTest::providerTestApplyTo |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
Provides test data for testApplyTo(). |
UrlBubbleableMetadataBubblingTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Render/UrlBubbleableMetadataBubblingTest.php |
|
BubbleableMetadataTest::testCreateFromRenderArray |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
@covers ::createFromRenderArray
@dataProvider providerTestCreateFromRenderArray |
ActionsTest::testDropbuttonWithBubbleableMetadata |
function |
core/tests/Drupal/KernelTests/Core/Render/Element/ActionsTest.php |
|
LinkGeneratorTest::testGenerateBubbleableMetadata |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the LinkGenerator's support for collecting bubbleable metadata. |
TokenTest::testReplaceWithBubbleableMetadataObject |
function |
core/tests/Drupal/Tests/Core/Utility/TokenTest.php |
@covers ::replace |
BubbleableMetadataTest::providerTestAddAttachments |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
Provides test data for testAddAttachments(). |
BubbleableMetadataTest::testAddCacheableDependency |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
@covers ::addCacheableDependency
@dataProvider providerTestMerge |
BubbleableMetadataTest::providerTestCreateFromRenderArray |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
Provides test data for createFromRenderArray(). |
CacheWebTest::testDisplayWithoutCacheStillBubblesMetadata |
function |
core/modules/views/tests/src/Functional/Plugin/CacheWebTest.php |
Tests that a display without caching still contains the cache metadata. |
TokenTest::testReplaceWithHookTokensWithBubbleableMetadata |
function |
core/tests/Drupal/Tests/Core/Utility/TokenTest.php |
@covers ::replace |
BubbleableMetadataTest::testMergeAttachmentsLibraryMerging |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
Tests library asset merging. |
BubbleableMetadataTest::providerTestAddCacheableDependency |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
Provides test data for testMerge(). |
BubbleableMetadataTest::testMergeAttachmentsHtmlHeadMerging |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
Tests html_head asset merging. |
TestController::tokenReplaceWithoutPassedBubbleableMetadata |
function |
core/modules/system/tests/modules/token_test/src/Controller/TestController.php |
Provides a token replacement with a node as well as the current user. |
BubbleableMetadataTest::testMergeAttachmentsHttpHeaderMerging |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
Tests http_header asset merging. |
TokenTest::testReplaceWithHookTokensAlterWithBubbleableMetadata |
function |
core/tests/Drupal/Tests/Core/Utility/TokenTest.php |
@covers ::replace
@covers ::replace |
BubbleableMetadataTest::testMergeAttachmentsHtmlHeadLinkMerging |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
Tests html_head_link asset merging. |
BubbleableMetadataTest::providerTestMergeAttachmentsHtmlHeadMerging |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
Data provider for testMergeAttachmentsHtmlHeadMerging. |
MetadataBubblingUrlGeneratorTest::testUrlBubbleableMetadataBubbling |
function |
core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php |
Tests bubbling of cacheable metadata for URLs. |
UrlBubbleableMetadataBubblingTest::testUrlBubbleableMetadataBubbling |
function |
core/modules/system/tests/src/Functional/Render/UrlBubbleableMetadataBubblingTest.php |
Tests that URL bubbleable metadata is correctly bubbled. |
BubbleableMetadataTest::providerTestMergeAttachmentsHttpHeaderMerging |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
Data provider for testMergeAttachmentsHttpHeaderMerging. |
BubbleableMetadataTest::providerTestMergeAttachmentsHtmlHeadLinkMerging |
function |
core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php |
Data provider for testMergeAttachmentsHtmlHeadLinkMerging. |
MetadataBubblingUrlGeneratorTest::providerUrlBubbleableMetadataBubbling |
function |
core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php |
Data provider for ::testUrlBubbleableMetadataBubbling(). |