You are here

public function PreparedTagElement::getDescendants in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x 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 186

Class

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

Namespace

Drupal\xbbcode

Code

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