Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ProductReviews.php
Go to the documentation of this file.
1 <?php
7 
9 {
15  public function execute()
16  {
18  $resultLayout = $this->resultLayoutFactory->create();
19  $block = $resultLayout->getLayout()->getBlock('admin.customer.reviews');
20  $block->setCustomerId($customerId)->setUseAjax(true);
21  return $resultLayout;
22  }
23 }
$block
Definition: block.php:8