Index.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Backend\Controller\Adminhtml\System;
  8. class Index extends \Magento\Backend\Controller\Adminhtml\System
  9. {
  10. /**
  11. * @var \Magento\Framework\View\Result\PageFactory
  12. */
  13. protected $resultPageFactory;
  14. /**
  15. * @param \Magento\Backend\App\Action\Context $context
  16. * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
  17. */
  18. public function __construct(
  19. \Magento\Backend\App\Action\Context $context,
  20. \Magento\Framework\View\Result\PageFactory $resultPageFactory
  21. ) {
  22. parent::__construct($context);
  23. $this->resultPageFactory = $resultPageFactory;
  24. }
  25. /**
  26. * @return \Magento\Backend\Model\View\Result\Page
  27. */
  28. public function execute()
  29. {
  30. /** @var \Magento\Backend\Model\View\Result\Page $resultPage */
  31. $resultPage = $this->resultPageFactory->create();
  32. $resultPage->setActiveMenu('Magento_Backend::system');
  33. $resultPage->addBreadcrumb(__('System'), __('System'));
  34. return $resultPage;
  35. }
  36. }