You are here

public function TemplateInterface::getFormat in Wysiwyg API template plugin 3.0.x

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

Class

TemplateInterface
Provides an interface for defining Template entities.

Namespace

Drupal\wysiwyg_template_core

Code

public function getFormat() : string;