diff --git a/config/core_services.yaml b/config/core_services.yaml index 13e0758a4..db0dc2488 100644 --- a/config/core_services.yaml +++ b/config/core_services.yaml @@ -35,6 +35,7 @@ services: $recordViewActionLimits: '%module.recordview.actions_limits%' $groupedFieldsTypeMap: '%record.fields.grouped_fields_type_map%' $uiConfigs: '%ui%' + $extensions: '%extensions%' _instanceof: App\Process\Service\ProcessHandlerInterface: tags: [ 'app.process.handler' ] diff --git a/config/services/legacy/exposed_system_configs.yaml b/config/services/legacy/exposed_system_configs.yaml index dbb7a49ad..e7c4a4d71 100644 --- a/config/services/legacy/exposed_system_configs.yaml +++ b/config/services/legacy/exposed_system_configs.yaml @@ -25,3 +25,4 @@ parameters: module_routing: true recordview_actions_limits: true ui: true + extensions: true diff --git a/core/backend/SystemConfig/LegacyHandler/SystemConfigHandler.php b/core/backend/SystemConfig/LegacyHandler/SystemConfigHandler.php index ebb701989..992fee1ee 100644 --- a/core/backend/SystemConfig/LegacyHandler/SystemConfigHandler.php +++ b/core/backend/SystemConfig/LegacyHandler/SystemConfigHandler.php @@ -83,6 +83,8 @@ class SystemConfigHandler extends LegacyHandler implements SystemConfigProviderI * @param array $listViewActionsLimits * @param array $recordViewActionLimits * @param array $uiConfigs + * @param array $extensions + * @param SessionInterface $session */ public function __construct( string $projectDir, @@ -104,6 +106,7 @@ class SystemConfigHandler extends LegacyHandler implements SystemConfigProviderI array $listViewActionsLimits, array $recordViewActionLimits, array $uiConfigs, + array $extensions, SessionInterface $session ) { @@ -121,6 +124,7 @@ class SystemConfigHandler extends LegacyHandler implements SystemConfigProviderI $this->injectedSystemConfigs['listview_actions_limits'] = $listViewActionsLimits; $this->injectedSystemConfigs['recordview_actions_limits'] = $recordViewActionLimits; $this->injectedSystemConfigs['ui'] = $uiConfigs; + $this->injectedSystemConfigs['extensions'] = $extensions; $this->mappers = $mappers; $this->systemConfigKeyMap = $systemConfigKeyMap; }