public function Element::renderPlain in Express 8
Renders the final element HTML.
Return value
\Drupal\Component\Render\MarkupInterface The rendered HTML.
File
- themes/
contrib/ bootstrap/ src/ Utility/ Element.php, line 553 - Contains \Drupal\bootstrap\Utility\Element.
Class
- Element
- Provides helper methods for Drupal render elements.
Namespace
Drupal\bootstrap\UtilityCode
public function renderPlain() {
/** @var \Drupal\Core\Render\Renderer $renderer */
$renderer = \Drupal::service('renderer');
return $renderer
->renderPlain($this->array);
}