You are here

public function TagElementInterface::getSource in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x src/Parser/Tree/TagElementInterface.php \Drupal\xbbcode\Parser\Tree\TagElementInterface::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.

2 methods override TagElementInterface::getSource()
PreparedTagElement::getSource in src/PreparedTagElement.php
Retrieve the content source of the tag.
TagElement::getSource in src/Parser/Tree/TagElement.php
Retrieve the content source of the tag.

File

src/Parser/Tree/TagElementInterface.php, line 95

Class

TagElementInterface
A tag occurrence as processed by tag plugins.

Namespace

Drupal\xbbcode\Parser\Tree

Code

public function getSource();