You are here

public function DisplayBuilderInterface::build in Panels 8.3

Same name and namespace in other branches
  1. 8.4 src/Plugin/DisplayBuilder/DisplayBuilderInterface.php \Drupal\panels\Plugin\DisplayBuilder\DisplayBuilderInterface::build()

Renders a Panels display.

This is the outermost method in the Panels render pipeline. It calls the inner methods, which return a content array, which is in turn passed to the theme function specified in the layout plugin.

Parameters

Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant: The Panels display variant to render.

Return value

array Render array modified by the display builder.

1 method overrides DisplayBuilderInterface::build()
DisplayBuilderBase::build in src/Plugin/DisplayBuilder/DisplayBuilderBase.php
Renders a Panels display.

File

src/Plugin/DisplayBuilder/DisplayBuilderInterface.php, line 31

Class

DisplayBuilderInterface
Defines the DisplayBuilder plugin type.

Namespace

Drupal\panels\Plugin\DisplayBuilder

Code

public function build(PanelsDisplayVariant $panels_display);