You are here

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

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

Retrieve the descendants of the node.

Return value

\Drupal\xbbcode\Parser\Tree\ElementInterface[]|\iterable Every descendant of the node.

Overrides NodeElementInterface::getDescendants

File

src/PreparedTagElement.php, line 206

Class

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

Namespace

Drupal\xbbcode

Code

public function getDescendants() {
  return $this->tag
    ->getDescendants();
}