public function TagElement::setParent in Extensible BBCode 4.0.x
Same name and namespace in other branches
- 8.3 src/Parser/Tree/TagElement.php \Drupal\xbbcode\Parser\Tree\TagElement::setParent()
Set the parent of the current tag.
Parameters
\Drupal\xbbcode\Parser\Tree\NodeElementInterface $parent: Parent node.
Overrides TagElementInterface::setParent
File
- src/
Parser/ Tree/ TagElement.php, line 217
Class
- TagElement
- A BBCode tag element.
Namespace
Drupal\xbbcode\Parser\TreeCode
public function setParent(NodeElementInterface $parent) : void {
$this->parent = $parent;
}