12 calls to BubbleableMetadata::mergeAttachments() in Drupal 9
- AjaxResponse::addCommand in core/
lib/ Drupal/ Core/ Ajax/ AjaxResponse.php - Add an AJAX command to the response.
- AttachedRenderingBlock::build in core/
modules/ system/ tests/ modules/ render_attached_test/ src/ Plugin/ Block/ AttachedRenderingBlock.php - Builds and returns the renderable array for this block plugin.
- AttachmentsTrait::addAttachments in core/
lib/ Drupal/ Core/ Render/ AttachmentsTrait.php - BubbleableMetadata::merge in core/
lib/ Drupal/ Core/ Render/ BubbleableMetadata.php - Creates a new bubbleable metadata object by merging this one with another.
- BubbleableMetadataTest::testMergeAttachmentsFeedMerging in core/
tests/ Drupal/ Tests/ Core/ Render/ BubbleableMetadataTest.php - Tests feed asset merging.
- BubbleableMetadataTest::testMergeAttachmentsHtmlHeadLinkMerging in core/
tests/ Drupal/ Tests/ Core/ Render/ BubbleableMetadataTest.php - Tests html_head_link asset merging.
- BubbleableMetadataTest::testMergeAttachmentsHtmlHeadMerging in core/
tests/ Drupal/ Tests/ Core/ Render/ BubbleableMetadataTest.php - Tests html_head asset merging.
- BubbleableMetadataTest::testMergeAttachmentsHttpHeaderMerging in core/
tests/ Drupal/ Tests/ Core/ Render/ BubbleableMetadataTest.php - Tests http_header asset merging.
- BubbleableMetadataTest::testMergeAttachmentsLibraryMerging in core/
tests/ Drupal/ Tests/ Core/ Render/ BubbleableMetadataTest.php - Tests library asset merging.
- Element::preRenderTextFormat in core/
modules/ editor/ src/ Element.php - Additional #pre_render callback for 'text_format' elements.
- HtmlResponseAttachmentsProcessor::processAttachments in core/
lib/ Drupal/ Core/ Render/ HtmlResponseAttachmentsProcessor.php - Processes the attachments of a response that has attachments.
- Link::preRenderLinks in core/
lib/ Drupal/ Core/ Render/ Element/ Link.php - Pre-render callback: Collects child links into a single array.