26 lines
597 B
PHP
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;
|
|
}
|
|
}
|