You are here

public function Tag::getDescription in Extensible BBCode 8.3

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

The tag description.

Return value

string Tag description.

Overrides TagInterface::getDescription

File

src/Entity/Tag.php, line 120

Class

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

Namespace

Drupal\xbbcode\Entity

Code

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