Edit.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Controller\Adminhtml\Settings\Advanced;
  6. use Magento\Framework\Controller\ResultFactory;
  7. use Temando\Shipping\Controller\Adminhtml\Activation\AbstractRegisteredAction;
  8. /**
  9. * Temando Edit Advanced Settings Action
  10. *
  11. * @package Temando\Shipping\Controller
  12. * @author Max Melzer <max.melzer@netresearch.de>
  13. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  14. * @link http://www.temando.com/
  15. */
  16. class Edit extends AbstractRegisteredAction
  17. {
  18. /**
  19. * @return \Magento\Backend\Model\View\Result\Page
  20. */
  21. public function execute()
  22. {
  23. /** @var \Magento\Backend\Model\View\Result\Page $resultPage */
  24. $resultPage = $this->resultFactory->create(ResultFactory::TYPE_PAGE);
  25. $resultPage->getConfig()->getTitle()->prepend(__('Advanced Settings'));
  26. $resultPage->addBreadcrumb(
  27. __('Configuration'),
  28. __('Advanced Settings'),
  29. $this->getUrl('temando/settings_advanced/edit')
  30. );
  31. return $resultPage;
  32. }
  33. }