public function TagElement::setAttributes in Extensible BBCode 4.0.x
Same name and namespace in other branches
- 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\TreeCode
public function setAttributes(array $attributes) : void {
$this->attributes = $attributes;
}