Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Grid.php
Go to the documentation of this file.
1 <?php
8 
10 {
16  public function execute()
17  {
18  $this->_view->loadLayout();
19  $grid = $this->_view->getLayout()->createBlock(
20  \Magento\Newsletter\Block\Adminhtml\Template\Grid::class
21  )->toHtml();
22  $this->getResponse()->setBody($grid);
23  }
24 }