public function Tag::getSample in Extensible BBCode 4.0.x
Same name and namespace in other branches
- 8.3 src/Entity/Tag.php \Drupal\xbbcode\Entity\Tag::getSample()
The sample code.
Return value
string Tag sample code (using {{ name }} placeholders).
Overrides TagInterface::getSample
File
- src/
Entity/ Tag.php, line 133
Class
- Tag
- Represents a custom XBBCode tag that can be altered by administrators.
Namespace
Drupal\xbbcode\EntityCode
public function getSample() : string {
return $this->sample ?? '';
}