‪TYPO3CMS  ‪main
TYPO3\CMS\Lowlevel\Controller\ConfigurationController Class Reference

Public Member Functions

 __construct (private readonly ProviderRegistry $configurationProviderRegistry, private readonly UriBuilder $uriBuilder, private readonly ModuleTemplateFactory $moduleTemplateFactory)
 
 indexAction (ServerRequestInterface $request)
 

Private Member Functions

 renderTree (array|\ArrayObject $tree, string $labelHash, string $incomingIdentifier='')
 
 addProviderDropDownToDocHeader (ModuleTemplate $view, array $providers, ProviderInterface $selectedProvider)
 
 addShortcutButtonToDocHeader (ModuleTemplate $view, ProviderInterface $provider, string $providerIdentifier)
 
 getLanguageService ()
 

Detailed Description

View configuration arrays in the backend. This is the "Configuration" main module.

This class is a specific Backend controller implementation and is not part of the TYPO3's Core API.

Definition at line 36 of file ConfigurationController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Lowlevel\Controller\ConfigurationController::__construct ( private readonly ProviderRegistry  $configurationProviderRegistry,
private readonly UriBuilder  $uriBuilder,
private readonly ModuleTemplateFactory  $moduleTemplateFactory 
)

Definition at line 38 of file ConfigurationController.php.

Member Function Documentation

◆ addProviderDropDownToDocHeader()

TYPO3\CMS\Lowlevel\Controller\ConfigurationController::addProviderDropDownToDocHeader ( ModuleTemplate  $view,
array  $providers,
ProviderInterface  $selectedProvider 
)
private

◆ addShortcutButtonToDocHeader()

TYPO3\CMS\Lowlevel\Controller\ConfigurationController::addShortcutButtonToDocHeader ( ModuleTemplate  $view,
ProviderInterface  $provider,
string  $providerIdentifier 
)
private

◆ getLanguageService()

TYPO3\CMS\Lowlevel\Controller\ConfigurationController::getLanguageService ( )
private

◆ indexAction()

◆ renderTree()

TYPO3\CMS\Lowlevel\Controller\ConfigurationController::renderTree ( array|\ArrayObject  $tree,
string  $labelHash,
string  $incomingIdentifier = '' 
)
private

We're rendering the trees directly in PHP for two reasons:

  • ‪Performance of Fluid is not good enough when dealing with large trees like TCA
  • ‪It's a bit hard to deal with the object details in Fluid

Definition at line 76 of file ConfigurationController.php.

Referenced by TYPO3\CMS\Lowlevel\Controller\ConfigurationController\indexAction().