Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Heading.php
Go to the documentation of this file.
1 <?php
13 
19  \Magento\Framework\Data\Form\Element\Renderer\RendererInterface
20 {
27  public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element)
28  {
29  return sprintf(
30  '<tr class="system-fieldset-sub-head" id="row_%s"><td colspan="5"><h4 id="%s">%s</h4></td></tr>',
31  $element->getHtmlId(),
32  $element->getHtmlId(),
33  $element->getLabel()
34  );
35  }
36 }
render(\Magento\Framework\Data\Form\Element\AbstractElement $element)
Definition: Heading.php:27
$element
Definition: element.phtml:12