| Current Path : /home/rtorresani/www/vendor/magento/module-email/Controller/Adminhtml/Email/Template/ |
| Current File : //home/rtorresani/www/vendor/magento/module-email/Controller/Adminhtml/Email/Template/Index.php |
<?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();
}
}