mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-12-23 09:56:09 +01:00
1857c6ddc7
The admin panel has been extracted into an own extension. To enable users to de-activate the admin panel completely, the hard coupling between the extension and other parts of the core had to be resolved. With this change, the initialization of both adminPanel and feedit were moved into PSR-15 middlewares. Additionally all parameters related to the adminPanel were removed from the FrontendBackend- UserAuthentication. As feedit is tigthly coupled with the adminPanel some changes had to be made to its initialization, too. The flow of the adminPanel initialization and rendering were streamlined to allow modules to make use of the request object. Due to these changes in the control flow of the application the two existing tests were removed and new tests will be rewritten once the API is declared as stable. Releases: master Resolves: #84641 Change-Id: I72beefde0d792d3f4295c45aa27204c817d2de7a Reviewed-on: https://review.typo3.org/56558 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by: Benni Mack <benni@typo3.org> Tested-by: Benni Mack <benni@typo3.org>
21 lines
603 B
PHP
21 lines
603 B
PHP
<?php
|
|
/**
|
|
* An array consisting of implementations of middlewares for a middleware stack to be registered
|
|
* 'stackname' => [
|
|
* 'middleware-identifier' => [
|
|
* 'target' => classname or callable
|
|
* 'before/after' => array of dependencies
|
|
* ]
|
|
* ]
|
|
*/
|
|
return [
|
|
'frontend' => [
|
|
'typo3/cms-frontendedit/initiator' => [
|
|
'target' => \TYPO3\CMS\Feedit\Middleware\FrontendEditInitiator::class,
|
|
'after' => [
|
|
'typo3/cms-adminpanel/initiator',
|
|
'typo3/cms-frontend/page-resolver',
|
|
]
|
|
],
|
|
]
|
|
];
|