init
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
namespace WeltPixel\Backend\Controller\Adminhtml\Debugger;
|
||||
|
||||
class Modules extends \WeltPixel\Backend\Controller\Adminhtml\Debugger
|
||||
{
|
||||
const ADMIN_RESOURCE = 'WeltPixel_Backend::WeltPixel_Debugger_Modules';
|
||||
|
||||
/**
|
||||
* @var \Magento\Framework\View\Result\PageFactory
|
||||
*/
|
||||
protected $resultPageFactory;
|
||||
|
||||
/**
|
||||
* @param \Magento\Backend\App\Action\Context $context
|
||||
* @param \Magento\Framework\Registry $coreRegistry
|
||||
* @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
|
||||
*/
|
||||
public function __construct(
|
||||
\Magento\Backend\App\Action\Context $context,
|
||||
\Magento\Framework\Registry $coreRegistry,
|
||||
\Magento\Framework\View\Result\PageFactory $resultPageFactory
|
||||
) {
|
||||
$this->resultPageFactory = $resultPageFactory;
|
||||
parent::__construct($context, $coreRegistry);
|
||||
}
|
||||
|
||||
/**
|
||||
* Index action
|
||||
*
|
||||
* @return \Magento\Framework\Controller\ResultInterface
|
||||
*/
|
||||
public function execute()
|
||||
{
|
||||
/** @var \Magento\Backend\Model\View\Result\Page $resultPage */
|
||||
$resultPage = $this->resultPageFactory->create();
|
||||
$this->initPage($resultPage)->getConfig()->getTitle()->prepend(__('Modules'));
|
||||
return $resultPage;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user