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

26 lines
651 B
PHP

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