Files
esun3d/app/code/Esun/ImageManager/Controller/Adminhtml/Image/Index.php
T
2026-09-15 10:35:56 +08:00

26 lines
597 B
PHP

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