public function TagElementInterface::setSource in Extensible BBCode 4.0.x
Same name and namespace in other branches
- 8.3 src/Parser/Tree/TagElementInterface.php \Drupal\xbbcode\Parser\Tree\TagElementInterface::setSource()
Set the content source of the tag.
Parameters
string $source: The text between [tag] and [/tag].
2 methods override TagElementInterface::setSource()
- PreparedTagElement::setSource in src/
PreparedTagElement.php - Set the content source of the tag.
- TagElement::setSource in src/
Parser/ Tree/ TagElement.php - Set the content source of the tag.
File
- src/
Parser/ Tree/ TagElementInterface.php, line 133
Class
- TagElementInterface
- A tag occurrence as processed by tag plugins.
Namespace
Drupal\xbbcode\Parser\TreeCode
public function setSource(string $source) : void;