Index.php 994 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Review\Controller\Adminhtml\Rating;
  7. use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
  8. use Magento\Review\Controller\Adminhtml\Rating as RatingController;
  9. use Magento\Framework\Controller\ResultFactory;
  10. class Index extends RatingController implements HttpGetActionInterface
  11. {
  12. /**
  13. * @return \Magento\Backend\Model\View\Result\Page
  14. */
  15. public function execute()
  16. {
  17. $this->initEntityId();
  18. /** @var \Magento\Backend\Model\View\Result\Page $resultPage */
  19. $resultPage = $this->resultFactory->create(ResultFactory::TYPE_PAGE);
  20. $resultPage->setActiveMenu('Magento_Review::catalog_reviews_ratings_ratings');
  21. $resultPage->addBreadcrumb(__('Manage Ratings'), __('Manage Ratings'));
  22. $resultPage->getConfig()->getTitle()->prepend(__('Ratings'));
  23. return $resultPage;
  24. }
  25. }