Files
2026-09-15 10:35:56 +08:00

29 lines
679 B
PHP

<?php
declare(strict_types=1);
namespace Esun\FileManager\Controller\Adminhtml\File;
use Magento\Backend\App\Action;
use Magento\Framework\View\Result\PageFactory;
class Index extends Action
{
public const ADMIN_RESOURCE = 'Esun_FileManager::filemanager';
public function __construct(
Action\Context $context,
private readonly PageFactory $pageFactory
) {
parent::__construct($context);
}
public function execute()
{
$page = $this->pageFactory->create();
$page->setActiveMenu('Esun_FileManager::filemanager');
$page->getConfig()->getTitle()->prepend(__('File Manager'));
return $page;
}
}