You are here

public function TagElementInterface::setOption 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::setOption()

Set the option-style attribute of the element.

Parameters

string $value: The value of the option.

2 methods override TagElementInterface::setOption()
PreparedTagElement::setOption in src/PreparedTagElement.php
Set the option-style attribute of the element.
TagElement::setOption in src/Parser/Tree/TagElement.php
Set the option-style attribute of the element.

File

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

Class

TagElementInterface
A tag occurrence as processed by tag plugins.

Namespace

Drupal\xbbcode\Parser\Tree

Code

public function setOption(string $value) : void;