| Current Path : /home/rtorresani/www/app/code/Amasty/CronScheduleList/Controller/Adminhtml/Schedule/ |
| Current File : //home/rtorresani/www/app/code/Amasty/CronScheduleList/Controller/Adminhtml/Schedule/Index.php |
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Cron Schedule List for Magento 2 (System)
*/
namespace Amasty\CronScheduleList\Controller\Adminhtml\Schedule;
use Amasty\CronScheduleList\Controller\Adminhtml\AbstractSchedule;
use Magento\Framework\Controller\ResultFactory;
class Index extends AbstractSchedule
{
/**
* Index action
*
* @return \Magento\Backend\Model\View\Result\Page
*/
public function execute()
{
/** @var \Magento\Backend\Model\View\Result\Page $resultPage */
$resultPage = $this->resultFactory->create(ResultFactory::TYPE_PAGE);
$resultPage->setActiveMenu('Amasty_CronScheduleList::schedule_list');
$resultPage->getConfig()->getTitle()->prepend(__('Cron Tasks List'));
$resultPage->addBreadcrumb(__('Cron Tasks List'), __('Cron Tasks List'));
return $resultPage;
}
}