Fix implementation of RequestEnricherInterface

The interface was not imported, and no request was returned in method.
This commit is contained in:
Daniel Siepmann 2020-04-07 12:14:06 +02:00
parent 12cf2967d5
commit 3450ed6918
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -20,6 +20,7 @@ use Psr\Http\Message\ServerRequestInterface;
use TYPO3\CMS\Adminpanel\ModuleApi\AbstractModule;
use TYPO3\CMS\Adminpanel\ModuleApi\InitializableInterface;
use TYPO3\CMS\Adminpanel\ModuleApi\PageSettingsProviderInterface;
use TYPO3\CMS\Adminpanel\ModuleApi\RequestEnricherInterface;
use TYPO3\CMS\Adminpanel\ModuleApi\ResourceProviderInterface;
use TYPO3\CMS\Backend\Routing\UriBuilder;
use TYPO3\CMS\Backend\Utility\BackendUtility;
@ -132,6 +133,7 @@ class EditModule extends AbstractModule implements PageSettingsProviderInterface
*/
public function enrich(ServerRequestInterface $request): ServerRequestInterface
{
return $request;
}
/**