You are here

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

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

Set the option-style attribute of the element.

Parameters

string $value: The value of the option.

Overrides TagElementInterface::setOption

File

src/PreparedTagElement.php, line 122

Class

PreparedTagElement
Adapter for the tag element that marks markup as safe.

Namespace

Drupal\xbbcode

Code

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