public function PreparedTagElement::getOption in Extensible BBCode 8.3
Same name and namespace in other branches
- 4.0.x src/PreparedTagElement.php \Drupal\xbbcode\PreparedTagElement::getOption()
Retrieve the option-type attribute of the element.
[tag=OPTION]...[/tag]
Return value
string The value of the option.
Overrides TagElementInterface::getOption
File
- src/
PreparedTagElement.php, line 94
Class
- PreparedTagElement
- Adapter for the tag element that marks markup as safe.
Namespace
Drupal\xbbcodeCode
public function getOption() : string {
return $this->tag
->getOption();
}