Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Edit.php
Go to the documentation of this file.
1 <?php
7 
15 class Edit extends \Magento\Backend\Block\Widget\Form\Container
16 {
20  protected function _construct()
21  {
22  parent::_construct();
23 
24  $this->_blockGroup = 'Magento_Backend';
25  $this->_controller = 'system_account';
26  $this->buttonList->update('save', 'label', __('Save Account'));
27  $this->buttonList->remove('delete');
28  $this->buttonList->remove('back');
29  }
30 
34  public function getHeaderText()
35  {
36  return __('My Account');
37  }
38 }
__()
Definition: __.php:13