Edit.php 866 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Backend\Block\System\Account;
  7. /**
  8. * Adminhtml edit admin user account
  9. *
  10. * @api
  11. * @author Magento Core Team <core@magentocommerce.com>
  12. * @since 100.0.2
  13. */
  14. class Edit extends \Magento\Backend\Block\Widget\Form\Container
  15. {
  16. /**
  17. * @return void
  18. */
  19. protected function _construct()
  20. {
  21. parent::_construct();
  22. $this->_blockGroup = 'Magento_Backend';
  23. $this->_controller = 'system_account';
  24. $this->buttonList->update('save', 'label', __('Save Account'));
  25. $this->buttonList->remove('delete');
  26. $this->buttonList->remove('back');
  27. }
  28. /**
  29. * @return \Magento\Framework\Phrase
  30. */
  31. public function getHeaderText()
  32. {
  33. return __('My Account');
  34. }
  35. }