Initial commit - Typo3 11.5.41
This commit is contained in:
37
typo3conf/ext/news/Configuration/Services.yaml
Normal file
37
typo3conf/ext/news/Configuration/Services.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
services:
|
||||
_defaults:
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
public: false
|
||||
|
||||
news.cache:
|
||||
class: TYPO3\CMS\Core\Cache\Frontend\PhpFrontend
|
||||
# We can not use CacheManager, as it can not be
|
||||
# injected/instantiated during ext_localconf.php loading
|
||||
# factory: ['@TYPO3\CMS\Core\Cache\CacheManager', 'getCache']
|
||||
# therefore we use the static Bootstrap::createCache factory instead.
|
||||
factory: ['TYPO3\CMS\Core\Core\Bootstrap', 'createCache']
|
||||
arguments: ['news']
|
||||
|
||||
GeorgRinger\News\:
|
||||
resource: '../Classes/*'
|
||||
exclude: '../Classes/Domain/Model/*'
|
||||
|
||||
|
||||
GeorgRinger\News\Utility\ClassCacheManager:
|
||||
arguments: ['@news.cache']
|
||||
public: true
|
||||
|
||||
GeorgRinger\News\Utility\ClassLoader:
|
||||
arguments: ['@news.cache', '@GeorgRinger\News\Utility\ClassCacheManager']
|
||||
public: true
|
||||
|
||||
GeorgRinger\News\Seo\HrefLangEvent:
|
||||
tags:
|
||||
- name: event.listener
|
||||
identifier: 'my-ext/ownHrefLang'
|
||||
after: 'typo3-seo/hreflangGenerator'
|
||||
event: TYPO3\CMS\Frontend\Event\ModifyHrefLangTagsEvent
|
||||
|
||||
GeorgRinger\News\Backend\RecordList\NewsDatabaseRecordList:
|
||||
public: true
|
||||
Reference in New Issue
Block a user