[FEATURE] Provide core cache frontends via dependency injection
[Packages/TYPO3.CMS.git] / typo3 / sysext / adminpanel / Configuration / Services.yaml
index 15ca606..d09783a 100644 (file)
@@ -6,3 +6,8 @@ services:
 
   TYPO3\CMS\Adminpanel\:
     resource: '../Classes/*'
+
+  cache.adminpanel_requestcache:
+    class: TYPO3\CMS\Core\Cache\Frontend\FrontendInterface
+    factory: ['@TYPO3\CMS\Core\Cache\CacheManager', 'getCache']
+    arguments: ['adminpanel_requestcache']