You are here

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

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

Render this element to a string.

Return value

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

4 methods override ElementInterface::render()
PreparedTagElement::render in src/PreparedTagElement.php
Render this element to a string.
RootElement::render in src/Parser/Tree/RootElement.php
Render this element to a string.
TagElement::render in src/Parser/Tree/TagElement.php
TextElement::render in src/Parser/Tree/TextElement.php
Render this element to a string.

File

src/Parser/Tree/ElementInterface.php, line 16

Class

ElementInterface
An element in the parser tree.

Namespace

Drupal\xbbcode\Parser\Tree

Code

public function render();