You are here

public function PreparedTagElement::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/PreparedTagElement.php, line 59

Class

PreparedTagElement
Adapter for the tag element that marks markup as safe.

Namespace

Drupal\xbbcode

Code

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