You are here

public function TagElement::setAttributes in Extensible BBCode 8.3

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

Set all attribute values.

Parameters

string[] $attributes: The tag attributes, indexed by name.

Overrides TagElementInterface::setAttributes

File

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

Class

TagElement
A BBCode tag element.

Namespace

Drupal\xbbcode\Parser\Tree

Code

public function setAttributes(array $attributes) : void {
  $this->attributes = $attributes;
}