12345678910111213141516171819202122232425262728293031 |
- <?php
- /**
- *
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Email\Controller\Adminhtml\Email\Template;
- use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
- class Index extends \Magento\Email\Controller\Adminhtml\Email\Template implements HttpGetActionInterface
- {
- /**
- * Index action
- *
- * @return void
- */
- public function execute()
- {
- if ($this->getRequest()->getQuery('ajax')) {
- $this->_forward('grid');
- return;
- }
- $this->_view->loadLayout();
- $this->_setActiveMenu('Magento_Email::template');
- $this->_view->getPage()->getConfig()->getTitle()->prepend(__('Email Templates'));
- $this->_addBreadcrumb(__('Transactional Emails'), __('Transactional Emails'));
- $this->_view->renderLayout();
- }
- }
|