mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
Add SystemConfig Legacy Handler
- Add SystemConfi Legacy handler - Add service configuration to specify which configs are exposed to the frontend - Update Systemconfig Item and Collection data provider to use legacy handler - Add unit tests for legacy handler
This commit is contained in:
parent
32d40be3e7
commit
c02ab30a05
7 changed files with 313 additions and 27 deletions
|
@ -20,6 +20,7 @@ services:
|
|||
$legacyDir: '%legacy.dir%'
|
||||
$legacySessionName: '%legacy.session_name%'
|
||||
$defaultSessionName: '%default_session_name%'
|
||||
$exposedSystemConfigs: '%legacy.exposed_system_configs%'
|
||||
|
||||
# makes classes in src/ available to be used as services
|
||||
# this creates a service per class whose id is the fully-qualified class name
|
||||
|
|
6
config/services/legacy/exposed_system_configs.yaml
Normal file
6
config/services/legacy/exposed_system_configs.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
parameters:
|
||||
legacy.exposed_system_configs:
|
||||
default_language: true
|
||||
passwordsetting:
|
||||
forgotpasswordON: true
|
||||
languages: true
|
Loading…
Add table
Add a link
Reference in a new issue