You are here

public function PreparedTagElement::render in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x 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 158

Class

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

Namespace

Drupal\xbbcode

Code

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