TYPO3 v15 dev-main snapshot ()

This commit is contained in:
2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 changed files with 642608 additions and 0 deletions
@@ -0,0 +1,35 @@
.. include:: /Includes.rst.txt
.. _feature-79124:
============================================================================
Feature: #79124 - Allow overwriting of template paths in BackendTemplateView
============================================================================
See :issue:`79124`
Description
===========
BackendTemplateView now allows overwriting of template paths to add your own locations for templates, partials and layouts in a BackendTemplateView based backend module.
Impact
======
You can now do for example
.. code-block:: php
$frameworkConfiguration = $this->configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK);
$viewConfiguration = [
'view' => [
'templateRootPaths' => ['EXT:myext/Resources/Private/Backend/Templates'],
'partialRootPaths' => ['EXT:myext/Resources/Private/Backend/Partials'],
'layoutRootPaths' => ['EXT:myext/Resources/Private/Backend/Layouts'],
],
];
$this->configurationManager->setConfiguration(array_merge($frameworkConfiguration, $viewConfiguration));
.. index:: Backend, PHP-API