You are here

public function Template::getDescription in Wysiwyg API template plugin 3.0.x

Same name and namespace in other branches
  1. 8.2 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 104

Class

Template
Defines the Template entity.

Namespace

Drupal\wysiwyg_template\Entity

Code

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