Index.php 704 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\InventoryShippingAdminUi\Controller\Adminhtml\SourceSelection;
  8. use Magento\Backend\App\Action;
  9. /**
  10. * Class Index
  11. */
  12. class Index extends Action
  13. {
  14. /**
  15. * @see _isAllowed()
  16. */
  17. const ADMIN_RESOURCE = 'Magento_InventoryApi::source';
  18. /**
  19. * @inheritdoc
  20. */
  21. public function execute()
  22. {
  23. $this->_view->loadLayout();
  24. $this->_setActiveMenu('Magento_Sales::sales_order');
  25. $this->_view->getPage()->getConfig()->getTitle()->prepend(__('Source Selection'));
  26. $this->_view->renderLayout();
  27. }
  28. }