You are here

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

Return all attribute values.

Return value

string[] The tag attributes, indexed by name.

Overrides TagElementInterface::getAttributes

File

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

Class

TagElement
A BBCode tag element.

Namespace

Drupal\xbbcode\Parser\Tree

Code

public function getAttributes() : array {
  return $this->attributes;
}