Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Fieldset.php
Go to the documentation of this file.
1 <?php
13 
14 class Fieldset extends \Magento\Framework\Data\Form\Element\Fieldset
15 {
19  protected $_title;
20 
28  public function __construct(
29  \Magento\Framework\Data\Form\Element\Factory $factoryElement,
30  \Magento\Framework\Data\Form\Element\CollectionFactory $factoryCollection,
31  \Magento\Framework\Escaper $escaper,
32  \Magento\Tax\Block\Adminhtml\Rate\Title $title,
33  $data = []
34  ) {
35  $this->_title = $title;
36  parent::__construct($factoryElement, $factoryCollection, $escaper, $data);
37  }
38 
42  public function getBasicChildrenHtml()
43  {
44  return $this->_title->toHtml();
45  }
46 }
$title
Definition: default.phtml:14
__construct(\Magento\Framework\Data\Form\Element\Factory $factoryElement, \Magento\Framework\Data\Form\Element\CollectionFactory $factoryCollection, \Magento\Framework\Escaper $escaper, \Magento\Tax\Block\Adminhtml\Rate\Title $title, $data=[])
Definition: Fieldset.php:28