public function TagElementInterface::getOption 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::getOption()
Retrieve the option-type attribute of the element.
[tag=OPTION]...[/tag]
Return value
string The value of the option.
2 methods override TagElementInterface::getOption()
- PreparedTagElement::getOption in src/
PreparedTagElement.php - Retrieve the option-type attribute of the element.
- TagElement::getOption in src/
Parser/ Tree/ TagElement.php - Retrieve the option-type attribute of the element.
File
- src/
Parser/ Tree/ TagElementInterface.php, line 103
Class
- TagElementInterface
- A tag occurrence as processed by tag plugins.
Namespace
Drupal\xbbcode\Parser\TreeCode
public function getOption() : string;