You are here

20 calls to CacheableMetadata::createFromRenderArray() in Drupal 9

BlockComponentRenderArray::onBuildRender in core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php
Builds render arrays for block plugins and sets it on the event.
BlockPageVariant::build in core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php
Builds and returns the renderable array for the display variant.
BubbleableMetadata::createFromRenderArray in core/lib/Drupal/Core/Render/BubbleableMetadata.php
Creates a bubbleable metadata object with values taken from a render array.
CacheableMetadataTest::testCreateFromRenderArray in core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
@covers ::createFromRenderArray @dataProvider providerTestCreateFromRenderArray
content_translation_page_attachments in core/modules/content_translation/content_translation.module
Implements hook_page_attachments().
EntityReferenceFormatterTest::testLabelFormatter in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
Tests the label formatter.
ExtraFieldBlock::replaceFieldPlaceholder in core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php
Replaces all placeholders for a given field.
Feed::buildResponse in core/modules/views/src/Plugin/views/display/Feed.php
Builds up a response with the rendered view as content.
HelpTopicSection::renderTopicForSearch in core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php
Renders one topic for search indexing or search results.
HtmlResponse::setContent in core/lib/Drupal/Core/Render/HtmlResponse.php
Sets the response content.
JsonRenderer::renderResponse in core/modules/system/tests/modules/common_test/src/Render/MainContent/JsonRenderer.php
Renders the main content render array into a response.
NodeSearch::prepareResults in core/modules/node/src/Plugin/Search/NodeSearch.php
Prepares search results for rendering.
OEmbedIframeController::render in core/modules/media/src/Controller/OEmbedIframeController.php
Renders an oEmbed resource.
QuickEditIntegration::entityViewAlter in core/modules/layout_builder/src/QuickEditIntegration.php
Alters the entity view build for Quick Edit compatibility.
RenderCache::set in core/lib/Drupal/Core/Render/RenderCache.php
Caches the rendered output of a renderable array.
Renderer::addCacheableDependency in core/lib/Drupal/Core/Render/Renderer.php
Adds a dependency on an object: merges its cacheability metadata.
RestExport::buildResponse in core/modules/rest/src/Plugin/views/display/RestExport.php
Builds up a response with the rendered view as content.
shortcut_preprocess_page_title in core/modules/shortcut/shortcut.module
Implements hook_preprocess_HOOK() for page title templates.
ToolbarController::preRenderGetRenderedSubtrees in core/modules/toolbar/src/Controller/ToolbarController.php
#pre_render callback for toolbar_get_rendered_subtrees().
toolbar_get_rendered_subtrees in core/modules/toolbar/toolbar.module
Returns the rendered subtree of each top-level toolbar link.