You are here

public function TagElementInterface::setParent in Extensible BBCode 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Parser/Tree/TagElementInterface.php \Drupal\xbbcode\Parser\Tree\TagElementInterface::setParent()

Set the parent of the current tag.

Parameters

\Drupal\xbbcode\Parser\Tree\NodeElementInterface $parent: Parent node.

2 methods override TagElementInterface::setParent()
PreparedTagElement::setParent in src/PreparedTagElement.php
Set the parent of the current tag.
TagElement::setParent in src/Parser/Tree/TagElement.php
Set the parent of the current tag.

File

src/Parser/Tree/TagElementInterface.php, line 166

Class

TagElementInterface
A tag occurrence as processed by tag plugins.

Namespace

Drupal\xbbcode\Parser\Tree

Code

public function setParent(NodeElementInterface $parent) : void;