mirror of
https://github.com/bdnugget/module-integration.git
synced 2026-11-07 08:17:27 +00:00
38 lines
1.1 KiB
PHP
Executable File
38 lines
1.1 KiB
PHP
Executable File
<?php
|
|
|
|
namespace ActiveCampaign\SyncLog\Controller\Adminhtml\Index;
|
|
|
|
class Index extends \Magento\Backend\App\Action
|
|
{
|
|
/**
|
|
* @var \Magento\Framework\View\Result\PageFactory
|
|
*/
|
|
protected $resultPageFactory;
|
|
|
|
/**
|
|
* @param \Magento\Backend\App\Action\Context $context
|
|
* @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
|
|
*/
|
|
public function __construct(
|
|
\Magento\Backend\App\Action\Context $context,
|
|
\Magento\Framework\View\Result\PageFactory $resultPageFactory
|
|
) {
|
|
parent::__construct($context);
|
|
$this->resultPageFactory = $resultPageFactory;
|
|
}
|
|
|
|
/**
|
|
* Grid List page.
|
|
*
|
|
* @return \Magento\Backend\Model\View\Result\Page
|
|
*/
|
|
public function execute()
|
|
{
|
|
/** @var \Magento\Backend\Model\View\Result\Page $resultPage */
|
|
$resultPage = $this->resultPageFactory->create();
|
|
$resultPage->setActiveMenu('ActiveCampaign_SyncLog::logs');
|
|
$resultPage->getConfig()->getTitle()->prepend(__('ActiveCampaign Sync Logs'));
|
|
return $resultPage;
|
|
}
|
|
}
|