Breaking: #107783 - Registration of metadata extractors via registerExtractionService
See forge#107783
Description
The method
\TYPO3\
has been removed in favor of automatic registration via the interface
\TYPO3\.
Registration of metadata extractors now happens automatically when a class
implements the required interface
Extractor. No further
registration is necessary.
Impact
Any call to
Extractor is now a
no-op and has no effect in TYPO3 v14.0+. Metadata extractors are automatically
registered via the interface.
Affected installations
TYPO3 installations with custom extensions that register metadata extractor
classes via the mentioned method in ext_.
The extension scanner will report such usages.
Migration
The method has been removed without deprecation in order to allow extensions to work with TYPO3 v13 (using the registration method) and v14+ (using automatic interface-based registration) without additional deprecations.
Remove the manual registration from ext_:
- $extractorRegistry = GeneralUtility::makeInstance(ExtractorRegistry::class);
- $extractorRegistry->registerExtractionService(MyExtractor::class);
Since custom extractors already implement the required interface
Extractor, no further
changes are required inside the extractor class itself.