You are here

public function TagElement::setAttributes 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::setAttributes()

Set all attribute values.

Parameters

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

Overrides TagElementInterface::setAttributes

File

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

Class

TagElement
A BBCode tag element.

Namespace

Drupal\xbbcode\Parser\Tree

Code

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