You are here

public function TokenCustom::getDescription in Custom Tokens 8

Get description.

Return value

string Description

Overrides TokenCustomInterface::getDescription

File

src/Entity/TokenCustom.php, line 148

Class

TokenCustom
Defines the token_custom entity class.

Namespace

Drupal\token_custom\Entity

Code

public function getDescription() {
  return $this->description->value;
}