You are here

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

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

Retrieve the rendered output of each child.

Parameters

bool $force_render: (Optional) Set to FALSE to only return output that is already rendered. By default, this method renders it implicitly.

Return value

\Drupal\xbbcode\Parser\Tree\OutputElementInterface[] The sequence of rendered outputs.

Overrides NodeElementInterface::getRenderedChildren

File

src/PreparedTagElement.php, line 199

Class

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

Namespace

Drupal\xbbcode

Code

public function getRenderedChildren($force_render = TRUE) : array {
  return $this->tag
    ->getRenderedChildren($force_render);
}