Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Index.php
Go to the documentation of this file.
1 <?php
7 
8 use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
11 
12 class Index extends RatingController implements HttpGetActionInterface
13 {
17  public function execute()
18  {
19  $this->initEntityId();
21  $resultPage = $this->resultFactory->create(ResultFactory::TYPE_PAGE);
22  $resultPage->setActiveMenu('Magento_Review::catalog_reviews_ratings_ratings');
23  $resultPage->addBreadcrumb(__('Manage Ratings'), __('Manage Ratings'));
24  $resultPage->getConfig()->getTitle()->prepend(__('Ratings'));
25  return $resultPage;
26  }
27 }
__()
Definition: __.php:13