You are here

public function TagElement::getSource in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x src/Parser/Tree/TagElement.php \Drupal\xbbcode\Parser\Tree\TagElement::getSource()

Retrieve the content source of the tag.

[tag]CONTENT[/tag]

This is the content of the tag before rendering.

Return value

string|mixed The tag content source.

Overrides TagElementInterface::getSource

File

src/Parser/Tree/TagElement.php, line 148

Class

TagElement
A BBCode tag element.

Namespace

Drupal\xbbcode\Parser\Tree

Code

public function getSource() : string {
  return $this->source;
}