You are here

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

Get the original closing tag name.

Parameters

string $closing: The closing tag name.

Return value

$this

Overrides TagElementInterface::setClosingName

File

src/PreparedTagElement.php, line 73

Class

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

Namespace

Drupal\xbbcode

Code

public function setClosingName(string $closing) : TagElementInterface {
  return $this->tag
    ->setClosingName($closing);
}