public function WebformThemeManagerInterface::renderPlain in Webform 6.x
Same name and namespace in other branches
- 8.5 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);