Index.php 631 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Widget\Controller\Adminhtml\Widget\Instance;
  8. use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
  9. class Index extends \Magento\Widget\Controller\Adminhtml\Widget\Instance implements HttpGetActionInterface
  10. {
  11. /**
  12. * Widget Instances Grid
  13. *
  14. * @return void
  15. */
  16. public function execute()
  17. {
  18. $this->_initAction();
  19. $this->_view->getPage()->getConfig()->getTitle()->prepend(__('Widgets'));
  20. $this->_view->renderLayout();
  21. }
  22. }