public function PreparedTagElement::__construct in Extensible BBCode 4.0.x
Same name and namespace in other branches
- 8.3 src/PreparedTagElement.php \Drupal\xbbcode\PreparedTagElement::__construct()
PreparedTagElement constructor.
Parameters
\Drupal\xbbcode\Parser\Tree\TagElementInterface $tag: The tag to be wrapped.
File
- src/
PreparedTagElement.php, line 45
Class
- PreparedTagElement
- Adapter for the tag element that marks markup as safe.
Namespace
Drupal\xbbcodeCode
public function __construct(TagElementInterface $tag) {
$this->tag = $tag;
}