You are here

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

Same name and namespace in other branches
  1. 8.3 src/PreparedTagElement.php \Drupal\xbbcode\PreparedTagElement::getChildren()

Get all children of the element.

Return value

\Drupal\xbbcode\Parser\Tree\ElementInterface[] The children.

Overrides NodeElementInterface::getChildren

File

src/PreparedTagElement.php, line 192

Class

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

Namespace

Drupal\xbbcode

Code

public function getChildren() : array {
  return $this->tag
    ->getChildren();
}