public function PreparedTagElement::append in Extensible BBCode 8.3
Same name and namespace in other branches
- 4.0.x src/PreparedTagElement.php \Drupal\xbbcode\PreparedTagElement::append()
Append an element to the children of this element.
Parameters
\Drupal\xbbcode\Parser\Tree\ElementInterface $element: The new element.
Overrides NodeElementInterface::append
File
- src/
PreparedTagElement.php, line 165
Class
- PreparedTagElement
- Adapter for the tag element that marks markup as safe.
Namespace
Drupal\xbbcodeCode
public function append(ElementInterface $element) : void {
$this->tag
->append($element);
}