You are here

public function TagElementInterface::getArgument in Extensible BBCode 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Parser/Tree/TagElementInterface.php \Drupal\xbbcode\Parser\Tree\TagElementInterface::getArgument()

Retrieve the unparsed argument string.

Return value

string All characters between the tag name and the right square bracket.

2 methods override TagElementInterface::getArgument()
PreparedTagElement::getArgument in src/PreparedTagElement.php
Retrieve the unparsed argument string.
TagElement::getArgument in src/Parser/Tree/TagElement.php
Retrieve the unparsed argument string.

File

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

Class

TagElementInterface
A tag occurrence as processed by tag plugins.

Namespace

Drupal\xbbcode\Parser\Tree

Code

public function getArgument() : string;