public function TagElement::setSource 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::setSource()
Set the content source of the tag.
Parameters
string $source: The text between [tag] and [/tag].
Overrides TagElementInterface::setSource
File
- src/
Parser/ Tree/ TagElement.php, line 155
Class
- TagElement
- A BBCode tag element.
Namespace
Drupal\xbbcode\Parser\TreeCode
public function setSource(string $source) : void {
$this->source = $source;
}