You are here

public function Tag::getTemplateFile in Extensible BBCode 8.3

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

An external template file.

This file must be registered with the theme registry via hook_theme().

Return value

string A template file.

Overrides TagInterface::getTemplateFile

File

src/Entity/Tag.php, line 148

Class

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

Namespace

Drupal\xbbcode\Entity

Code

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