26 lines
658 B
PHP
26 lines
658 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Esun\LingxingErp\Controller\Adminhtml\Store;
|
|
|
|
use Magento\Backend\App\Action;
|
|
use Magento\Framework\View\Result\PageFactory;
|
|
|
|
class Index extends Action
|
|
{
|
|
public const ADMIN_RESOURCE = 'Esun_LingxingErp::stores';
|
|
|
|
public function __construct(Action\Context $context, private readonly PageFactory $pageFactory)
|
|
{
|
|
parent::__construct($context);
|
|
}
|
|
|
|
public function execute()
|
|
{
|
|
$page = $this->pageFactory->create();
|
|
$page->setActiveMenu('Esun_LingxingErp::store_list');
|
|
$page->getConfig()->getTitle()->prepend(__('Lingxing Stores'));
|
|
return $page;
|
|
}
|
|
}
|