You are here

public function PreparedTagElement::append in Extensible BBCode 4.0.x

Same name and namespace in other branches
  1. 8.3 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 185

Class

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

Namespace

Drupal\xbbcode

Code

public function append(ElementInterface $element) : void {
  $this->tag
    ->append($element);
}