public function WebformThemeManagerInterface::renderPlain in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformThemeManagerInterface.php \Drupal\webform\WebformThemeManagerInterface::renderPlain()
Renders using the default theme final HTML in situations where no assets are needed.
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::renderPlain()
- WebformThemeManager::renderPlain in src/
WebformThemeManager.php - Renders using the default theme final HTML in situations where no assets are needed.
File
- src/
WebformThemeManagerInterface.php, line 90
Class
- WebformThemeManagerInterface
- Defines an interface for theme manager classes.
Namespace
Drupal\webformCode
public function renderPlain(array &$elements, $default_theme = TRUE);