You are here

public function Template::getDescription in Wysiwyg API template plugin 8.2

Same name and namespace in other branches
  1. 3.0.x src/Entity/Template.php \Drupal\wysiwyg_template\Entity\Template::getDescription()

Gets the template description.

Return value

string The template description.

Overrides TemplateInterface::getDescription

File

src/Entity/Template.php, line 87

Class

Template
Defines the Template entity.

Namespace

Drupal\wysiwyg_template\Entity

Code

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