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 
14 class Edit extends \Magento\Backend\Block\Widget\Form\Container
15 {
21  protected $_blockGroup = null;
22 
28  protected $_controller = 'crypt_key';
29 
35  protected function _construct()
36  {
38  $this->buttonList->add(
39  'save',
40  [
41  'label' => __('Change Encryption Key'),
42  'class' => 'save primary save-encryption-key',
43  'data_attribute' => [
44  'mage-init' => ['button' => ['event' => 'save', 'target' => '#edit_form']],
45  ]
46  ],
47  1
48  );
49  }
50 
56  public function getHeaderText()
57  {
58  return __('Encryption Key');
59  }
60 }
__()
Definition: __.php:13
__construct(array $data=[])
Definition: DataObject.php:39