You are here

public function PreparedTagElement::setOption in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x 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 101

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);
}