Files
piratepoet/mailpoet/tasks/form-export/Template.php
David Remer bde6c1ce65 Escape output according to sniffs
[MAILPOET-4219]
2022-04-04 17:12:33 +02:00

35 lines
740 B
PHP

<?php
namespace MailPoet\Form\Templates\Templates;
use MailPoet\Form\Templates\FormTemplate;
class Template extends FormTemplate {
const ID = 'TEMPLATE_ID'; //@todo Set proper value
/** @var string */
protected $assetsDirectory = 'TEMPLATE_ASSETS_DIR'; //@todo Set proper value
public function getName(): string {
return _x('TEMPLATE_NAME', 'Form template name', 'mailpoet'); //@todo Set proper value
}
public function getThumbnailUrl(): string {
return ''; //@todo Add thumbnail
}
public function getBody(): array {
return TEMPLATE_BODY;
}
public function getSettings(): array {
return TEMPLATE_SETTINGS;
}
public function getStyles(): string {
return <<<EOL
TEMPLATE_STYLES
EOL;
}
}