Files
esun3d/app/code/Esun/Wiki/Controller/Adminhtml/Homepage/Edit.php
T
2026-09-15 10:35:56 +08:00

28 lines
608 B
PHP

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