Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Product.php
Go to the documentation of this file.
1 <?php
8 
9 use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
10 
11 class Product extends \Magento\Reports\Controller\Adminhtml\Report\Shopcart implements HttpGetActionInterface
12 {
18  public function execute()
19  {
20  $this->_initAction()->_setActiveMenu(
21  'Magento_Reports::report_shopcart_product'
22  )->_addBreadcrumb(
23  __('Products Report'),
24  __('Products Report')
25  )->_addContent(
26  $this->_view->getLayout()->createBlock(\Magento\Reports\Block\Adminhtml\Shopcart\Product::class)
27  );
28  $this->_view->getPage()->getConfig()->getTitle()->prepend(__('Products in Carts'));
29  $this->_view->renderLayout();
30  }
31 }
__()
Definition: __.php:13