public function PreparedTagElement::setParent in Extensible BBCode 8.3
Same name and namespace in other branches
- 4.0.x src/PreparedTagElement.php \Drupal\xbbcode\PreparedTagElement::setParent()
Set the parent of the current tag.
Parameters
\Drupal\xbbcode\Parser\Tree\NodeElementInterface $parent: Parent node.
Overrides TagElementInterface::setParent
File
- src/
PreparedTagElement.php, line 200
Class
- PreparedTagElement
- Adapter for the tag element that marks markup as safe.
Namespace
Drupal\xbbcodeCode
public function setParent(NodeElementInterface $parent) : void {
$this->tag
->setParent($parent);
}