public function LayoutInterface::renderLayout

Renders layout and returns the rendered markup.

Parameters

bool $admin: (optional) TRUE if the rendered layout is displayed in an administrative context, FALSE otherwise. Defaults to FALSE.

array $regions: (optional) An array of region render arrays keyed by region machine names. Defaults to array.

Return value

string Rendered HTML output from the layout.

1 method overrides LayoutInterface::renderLayout()
StaticLayout::renderLayout in drupal/core/modules/layout/lib/Drupal/layout/Plugin/Layout/StaticLayout.php
Implements Drupal\layout\Plugin\LayoutInterface::renderLayout().

File

drupal/core/modules/layout/lib/Drupal/layout/Plugin/LayoutInterface.php, line 41
Definition of Drupal\layout\Plugin\LayoutInterface.

Class

LayoutInterface
Defines the shared interface for all layout plugins.

Namespace

Drupal\layout\Plugin

Code

public function renderLayout($admin = FALSE, $regions = array());