public function TagElementInterface::setAttributes in Extensible BBCode 4.0.x
Same name and namespace in other branches
- 8.3 src/Parser/Tree/TagElementInterface.php \Drupal\xbbcode\Parser\Tree\TagElementInterface::setAttributes()
Set all attribute values.
Parameters
string[] $attributes: The tag attributes, indexed by name.
2 methods override TagElementInterface::setAttributes()
- PreparedTagElement::setAttributes in src/
PreparedTagElement.php - Set all attribute values.
- TagElement::setAttributes in src/
Parser/ Tree/ TagElement.php - Set all attribute values.
File
- src/
Parser/ Tree/ TagElementInterface.php, line 93
Class
- TagElementInterface
- A tag occurrence as processed by tag plugins.
Namespace
Drupal\xbbcode\Parser\TreeCode
public function setAttributes(array $attributes) : void;