Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Details.php
Go to the documentation of this file.
1 <?php
7 
13 class Details extends \Magento\Backend\Block\Widget\Form\Container
14 {
21  protected function _construct()
22  {
23  parent::_construct();
24  $this->_controller = '';
25  $this->_headerText = __('View Transaction Details');
26  $this->buttonList->remove('reset');
27  $this->buttonList->remove('delete');
28  $this->buttonList->remove('save');
29  }
30 
36  protected function _prepareLayout()
37  {
38  parent::_prepareLayout();
39  $this->addChild('form', \Magento\Paypal\Block\Adminhtml\Settlement\Details\Form::class);
40  return $this;
41  }
42 }
__()
Definition: __.php:13