You are here

public function Tag::getTemplateCode in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x src/Entity/Tag.php \Drupal\xbbcode\Entity\Tag::getTemplateCode()

An inline template.

Return value

string The Twig template code.

Overrides TagInterface::getTemplateCode

File

src/Entity/Tag.php, line 141

Class

Tag
Represents a custom XBBCode tag that can be altered by administrators.

Namespace

Drupal\xbbcode\Entity

Code

public function getTemplateCode() : string {
  return $this->template_code ?? '';
}