You are here

public function TokenCustom::getRawContent in Custom Tokens 8

Get unformatted content.

Return value

string Content.

Overrides TokenCustomInterface::getRawContent

File

src/Entity/TokenCustom.php, line 155

Class

TokenCustom
Defines the token_custom entity class.

Namespace

Drupal\token_custom\Entity

Code

public function getRawContent() {
  return $this->content->value;
}