You are here

public function TagElement::getOpeningName in Extensible BBCode 4.0.x

Get the original opening tag name.

Case-insensitively equivalent to ::getName() and ::getClosingName().

Return value

string The opening tag name.

Overrides TagElementInterface::getOpeningName

File

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

Class

TagElement
A BBCode tag element.

Namespace

Drupal\xbbcode\Parser\Tree

Code

public function getOpeningName() : string {
  return $this->openingName;
}