Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RendererInterface.php

function RendererInterface::mergeBubbleableMetadata

Merges the bubbleable rendering metadata o/t 2nd render array with the 1st.

Parameters

array $a: A render array.

array $b: A render array.

Return value

array The first render array, modified to also contain the bubbleable rendering metadata of the second render array.

See also

\Drupal\Core\Render\BubbleableMetadata

1 method overrides RendererInterface::mergeBubbleableMetadata()
Renderer::mergeBubbleableMetadata in core/lib/Drupal/Core/Render/Renderer.php
Merges the bubbleable rendering metadata o/t 2nd render array with the 1st.

File

core/lib/Drupal/Core/Render/RendererInterface.php, line 402

Class

RendererInterface
Defines an interface for turning a render array into a string.

Namespace

Drupal\Core\Render

Code

public function mergeBubbleableMetadata(array $a, array $b);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal