You are here

public function PreparedTagElement::getName in Extensible BBCode 4.0.x

Same name and namespace in other branches
  1. 8.3 src/PreparedTagElement.php \Drupal\xbbcode\PreparedTagElement::getName()

Get the canonical (lower-case) tag name of this element.

Return value

string The tag name.

Overrides TagElementInterface::getName

File

src/PreparedTagElement.php, line 52

Class

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

Namespace

Drupal\xbbcode

Code

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