You are here

public function TagElement::setOption in Extensible BBCode 4.0.x

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

Set the option-style attribute of the element.

Parameters

string $value: The value of the option.

Overrides TagElementInterface::setOption

File

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

Class

TagElement
A BBCode tag element.

Namespace

Drupal\xbbcode\Parser\Tree

Code

public function setOption(string $value) : void {
  $this->option = $value;
}