Edit.php 706 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Sales\Block\Adminhtml\Order\Status;
  7. /**
  8. * @api
  9. * @since 100.0.2
  10. */
  11. class Edit extends \Magento\Sales\Block\Adminhtml\Order\Status\NewStatus
  12. {
  13. /**
  14. * Constructor
  15. *
  16. * @return void
  17. */
  18. protected function _construct()
  19. {
  20. parent::_construct();
  21. $this->_mode = 'edit';
  22. $this->_blockGroup = 'Magento_Sales';
  23. }
  24. /**
  25. * Retrieve text for header element depending on loaded page
  26. *
  27. * @return \Magento\Framework\Phrase
  28. */
  29. public function getHeaderText()
  30. {
  31. return __('Edit Order Status');
  32. }
  33. }