Index.php 726 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Variable\Controller\Adminhtml\System\Variable;
  8. use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
  9. /**
  10. * Display Variables list page
  11. * @api
  12. * @since 100.0.2
  13. */
  14. class Index extends \Magento\Variable\Controller\Adminhtml\System\Variable implements HttpGetActionInterface
  15. {
  16. /**
  17. * Index Action
  18. *
  19. * @return \Magento\Backend\Model\View\Result\Page
  20. */
  21. public function execute()
  22. {
  23. $resultPage = $this->createPage();
  24. $resultPage->getConfig()->getTitle()->prepend(__('Custom Variables'));
  25. return $resultPage;
  26. }
  27. }