public function TagElement::setParent in Extensible BBCode 8.3
Same name and namespace in other branches
- 4.0.x 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 181
Class
- TagElement
- A BBCode tag element.
Namespace
Drupal\xbbcode\Parser\TreeCode
public function setParent(NodeElementInterface $parent) : void {
$this->parent = $parent;
}