Files
ltsecurityinc/app/code/Olegnax/BannerSlider/Controller/Adminhtml/Group/Index.php
T

49 lines
1.1 KiB
PHP
Executable File

<?php
/**
* Olegnax BannerSlider
*
* NOTICE OF LICENSE
*
* This source file is subject to the Olegnax.com license that is
* available through the world-wide-web at this URL:
* https://www.olegnax.com/license
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Olegnax
* @package Olegnax_BannerSlider
* @copyright Copyright (c) 2023 Olegnax (http://www.olegnax.com/)
* @license https://www.olegnax.com/license
*/
namespace Olegnax\BannerSlider\Controller\Adminhtml\Group;
use Magento\Backend\App\Action;
use Magento\Backend\App\Action\Context;
use Magento\Framework\View\Result\PageFactory;
class Index extends Action {
const ADMIN_RESOURCE = 'Olegnax_BannerSlider::Group_Index';
protected $_pageFactory;
public function __construct(
Context $context, PageFactory $pageFactory) {
$this->_pageFactory = $pageFactory;
return parent::__construct($context);
}
public function execute() {
$resultPage = $this->_pageFactory->create();
$resultPage->getConfig()->getTitle()->prepend((__('Banner Group Manager')));
return $resultPage;
}
}