Create renderer for form headers

[MAILPOET-2613]
This commit is contained in:
Pavel Dohnal
2020-03-11 08:45:36 +01:00
committed by Veljko V
parent 0c796e7a7d
commit 1b05ea2e68
4 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<?php
namespace MailPoet\Form\Block;
class Heading {
public function render(array $block, array $formSettings): string {
return '<h2></h2>';
}
}