You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Method \TYPO3\CMS\Fluid\View\TemplatePaths->fillDefaultsByPackageName() has
been marked as deprecated in TYPO3 v13 and will be removed in TYPO3 v14.
Fluid template paths should be set directly using the methods setTemplateRootPaths(), setLayoutRootPaths() and setPartialRootPaths(), or - even better - be handled by ViewFactoryInterface, which comes as new feature in TYPO3 v13.
See feature-104773-1724939348 for more details of the generic view
interface.
Impact
Calling fillDefaultsByPackageName() triggers a deprecation level log
level entry in TYPO3 v13 and will be removed in TYPO3 v14.
Affected installations
The method is relatively rarely used by extensions directly, a usage in
Extbase ActionController has been refactored away. The extension
scanner will find candidates.
Note class TemplatePaths is marked @internal and should not be used by
extensions at all.
Migration
Use \TYPO3\CMS\Core\View\ViewFactoryInterface to create views with
proper template paths instead. The TYPO3 system extensions come with
plenty of examples on how to do this.
PHP-API, FullyScanned, ext:fluid
The text was updated successfully, but these errors were encountered:
Deprecation: #104764 - Fluid TemplatePaths->fillDefaultsByPackageName
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.3/Deprecation-104764-FluidTemplatePaths-fillDefaultsByPackageName.html
Deprecation: #104764 - Fluid TemplatePaths->fillDefaultsByPackageName
See 104764
Description
Method
\TYPO3\CMS\Fluid\View\TemplatePaths->fillDefaultsByPackageName()
hasbeen marked as deprecated in TYPO3 v13 and will be removed in TYPO3 v14.
Fluid template paths should be set directly using the methods
setTemplateRootPaths()
,setLayoutRootPaths()
andsetPartialRootPaths()
, or - even better - be handled byViewFactoryInterface
, which comes as new feature in TYPO3 v13.See
feature-104773-1724939348
for more details of the generic viewinterface.
Impact
Calling
fillDefaultsByPackageName()
triggers a deprecation level loglevel entry in TYPO3 v13 and will be removed in TYPO3 v14.
Affected installations
The method is relatively rarely used by extensions directly, a usage in
Extbase
ActionController
has been refactored away. The extensionscanner will find candidates.
Note class
TemplatePaths
is marked@internal and should not be used by
extensions at all.
Migration
Use
\TYPO3\CMS\Core\View\ViewFactoryInterface
to create views withproper template paths instead. The TYPO3 system extensions come with
plenty of examples on how to do this.
PHP-API, FullyScanned, ext:fluid
The text was updated successfully, but these errors were encountered: