Notice.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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\Activation;
  6. use Magento\Backend\App\Action;
  7. use Magento\Framework\App\ResponseInterface;
  8. use Magento\Framework\Controller\ResultFactory;
  9. /**
  10. * Temando Activation Notice
  11. *
  12. * @package Temando\Shipping\Controller
  13. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  14. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  15. * @link http://www.temando.com/
  16. */
  17. class Notice extends Action
  18. {
  19. const ADMIN_RESOURCE = 'Temando_Shipping::shipping';
  20. /**
  21. * @return \Magento\Framework\Controller\ResultInterface|ResponseInterface
  22. * @throws \Magento\Framework\Exception\NotFoundException
  23. */
  24. public function execute()
  25. {
  26. /** @var \Magento\Backend\Model\View\Result\Page $resultPage */
  27. $resultPage = $this->resultFactory->create(ResultFactory::TYPE_PAGE);
  28. return $resultPage;
  29. }
  30. }