public function RootElement::render in Extensible BBCode 8.3
Same name and namespace in other branches
- 4.0.x src/Parser/Tree/RootElement.php \Drupal\xbbcode\Parser\Tree\RootElement::render()
Render this element to a string.
Return value
string|\Drupal\xbbcode\Parser\Tree\OutputElementInterface The rendered output.
Overrides ElementInterface::render
File
- src/
Parser/ Tree/ RootElement.php, line 13
Class
- RootElement
- The root element of the tag tree.
Namespace
Drupal\xbbcode\Parser\TreeCode
public function render() : string {
return $this
->getContent();
}