Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Form.php
Go to the documentation of this file.
1 <?php
13 
15 
16 class Form extends Generic
17 {
21  protected function _prepareLayout()
22  {
24  $this->getLayout()->createBlock(
25  \Magento\Backend\Block\Widget\Form\Renderer\Element::class,
26  $this->getNameInLayout() . '_element'
27  )
28  );
30  $this->getLayout()->createBlock(
31  \Magento\Backend\Block\Widget\Form\Renderer\Fieldset::class,
32  $this->getNameInLayout() . '_fieldset'
33  )
34  );
36  $this->getLayout()->createBlock(
37  \Magento\Catalog\Block\Adminhtml\Form\Renderer\Fieldset\Element::class,
38  $this->getNameInLayout() . '_fieldset_element'
39  )
40  );
41  }
42 }
static setFieldsetElementRenderer(RendererInterface $renderer=null)
Definition: Form.php:96
static setElementRenderer(RendererInterface $renderer=null)
Definition: Form.php:78
static setFieldsetRenderer(RendererInterface $renderer=null)
Definition: Form.php:87