public function Tag::getTemplateCode in Extensible BBCode 4.0.x
Same name and namespace in other branches
- 8.3 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 140
Class
- Tag
- Represents a custom XBBCode tag that can be altered by administrators.
Namespace
Drupal\xbbcode\EntityCode
public function getTemplateCode() : string {
return $this->template_code ?? '';
}