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
8 
9 use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
10 
11 class Index extends \Magento\Email\Controller\Adminhtml\Email\Template implements HttpGetActionInterface
12 {
18  public function execute()
19  {
20  if ($this->getRequest()->getQuery('ajax')) {
21  $this->_forward('grid');
22  return;
23  }
24 
25  $this->_view->loadLayout();
26  $this->_setActiveMenu('Magento_Email::template');
27  $this->_view->getPage()->getConfig()->getTitle()->prepend(__('Email Templates'));
28  $this->_addBreadcrumb(__('Transactional Emails'), __('Transactional Emails'));
29  $this->_view->renderLayout();
30  }
31 }
__()
Definition: __.php:13
_addBreadcrumb($label, $title, $link=null)
_forward($action, $controller=null, $module=null, array $params=null)