17 use Psr\Http\Message\ServerRequestInterface;
39 $_GET[
'tx_belog_system_beloglog'][
'pageId'] = GeneralUtility::_GP(
'id');
40 $_GET[
'tx_belog_system_beloglog'][
'layout'] =
'Plain';
41 $serverRequest =
$GLOBALS[
'TYPO3_REQUEST'] ??
null;
42 if ($serverRequest instanceof ServerRequestInterface) {
43 $GLOBALS[
'TYPO3_REQUEST'] = $serverRequest->withQueryParams($_GET);
45 $options[
'moduleConfiguration'] = [
46 'extensionName' =>
'Belog',
47 'vendorName' =>
'TYPO3\\CMS',
49 $options[
'moduleName'] =
'system_BelogLog';
51 $route = GeneralUtility::makeInstance(\
TYPO3\CMS\Backend\Routing\Route::class,
'/system/BelogLog/', $options);
52 $serverRequest = $serverRequest->withAttribute(
'route', $route);
53 $extbaseBootstrap = GeneralUtility::makeInstance(Bootstrap::class);
54 return $extbaseBootstrap->handleBackendRequest($serverRequest);