You are here

public function WebformThemeManagerInterface::render in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformThemeManagerInterface.php \Drupal\webform\WebformThemeManagerInterface::render()

Renders HTML given a structured array tree.

Parameters

array $elements: The structured array describing the data to be rendered.

bool $default_theme: Render using the default theme. Defaults to TRUE.

Return value

\Drupal\Component\Render\MarkupInterface The rendered HTML.

1 method overrides WebformThemeManagerInterface::render()
WebformThemeManager::render in src/WebformThemeManager.php
Renders HTML given a structured array tree.

File

src/WebformThemeManagerInterface.php, line 77

Class

WebformThemeManagerInterface
Defines an interface for theme manager classes.

Namespace

Drupal\webform

Code

public function render(array &$elements, $default_theme = TRUE);