You are here

public function PreparedTagElement::render in Extensible BBCode 4.0.x

Same name and namespace in other branches
  1. 8.3 src/PreparedTagElement.php \Drupal\xbbcode\PreparedTagElement::render()

Render this element to a string.

Return value

string|\Drupal\xbbcode\Parser\Tree\OutputElementInterface The rendered output.

Overrides ElementInterface::render

File

src/PreparedTagElement.php, line 178

Class

PreparedTagElement
Adapter for the tag element that marks markup as safe.

Namespace

Drupal\xbbcode

Code

public function render() : OutputElementInterface {
  return $this->tag
    ->render();
}