public function PreparedTagElement::getContent in Extensible BBCode 8.3
Same name and namespace in other branches
- 4.0.x src/PreparedTagElement.php \Drupal\xbbcode\PreparedTagElement::getContent()
Retrieve the rendered content of the element.
Return value
string|mixed The rendered content.
Overrides NodeElementInterface::getContent
File
- src/
PreparedTagElement.php, line 108
Class
- PreparedTagElement
- Adapter for the tag element that marks markup as safe.
Namespace
Drupal\xbbcodeCode
public function getContent() {
return Markup::create($this->tag
->getContent());
}