You are here

public function TemplateInterface::getFormat in Wysiwyg API template plugin 8.2

Same name and namespace in other branches
  1. 3.0.x modules/wysiwyg_template_core/src/TemplateInterface.php \Drupal\wysiwyg_template_core\TemplateInterface::getFormat()

Gets the text format.

Return value

string The text format for the body.

1 method overrides TemplateInterface::getFormat()
Template::getFormat in src/Entity/Template.php
Gets the text format.

File

modules/wysiwyg_template_core/src/TemplateInterface.php, line 34

Class

TemplateInterface
Provides an interface for defining Template entities.

Namespace

Drupal\wysiwyg_template_core

Code

public function getFormat() : string;