mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 11:00:40 +08:00
Update core service declarations
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
This commit is contained in:
parent
f2316b07bf
commit
a8e3dbf784
3 changed files with 27 additions and 7 deletions
|
@ -66,6 +66,12 @@ services:
|
||||||
App\Legacy\:
|
App\Legacy\:
|
||||||
resource: '../core/legacy/*'
|
resource: '../core/legacy/*'
|
||||||
|
|
||||||
|
# makes classes in extensions/ available to be used as services
|
||||||
|
# this creates a service per class whose id is the fully-qualified class name
|
||||||
|
App\Extension\:
|
||||||
|
resource: '../extensions/*'
|
||||||
|
exclude: '../extensions/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'
|
||||||
|
|
||||||
# controllers are imported separately to make sure services can be injected
|
# controllers are imported separately to make sure services can be injected
|
||||||
# as action arguments even if you don't extend any base controller class
|
# as action arguments even if you don't extend any base controller class
|
||||||
App\Controller\:
|
App\Controller\:
|
||||||
|
@ -162,3 +168,24 @@ services:
|
||||||
# inject all services tagged with subpanel.button.definition.mapper as first argument
|
# inject all services tagged with subpanel.button.definition.mapper as first argument
|
||||||
arguments:
|
arguments:
|
||||||
- !tagged { tag: 'subpanel.button.definition.mapper' }
|
- !tagged { tag: 'subpanel.button.definition.mapper' }
|
||||||
|
|
||||||
|
App\Service\ActionNameMapperInterface: '@App\Legacy\ActionNameMapperHandler'
|
||||||
|
App\Service\BulkActionDefinitionProviderInterface: '@App\Service\BulkActionDefinitionProvider'
|
||||||
|
App\Service\FieldDefinitionsProviderInterface: '@App\Legacy\FieldDefinitionsHandler'
|
||||||
|
App\Service\FilterDefinitionProviderInterface: '@App\Service\FilterDefinitionProvider'
|
||||||
|
App\Service\LineActionDefinitionProviderInterface: '@App\Service\LineActionDefinitionProvider'
|
||||||
|
App\Service\ListViewSidebarWidgetDefinitionProviderInterface: '@App\Service\ListViewSidebarWidgetDefinitionProvider'
|
||||||
|
App\Service\ModuleNameMapperInterface: '@App\Legacy\ModuleNameMapperHandler'
|
||||||
|
App\Service\ModuleRegistryInterface: '@App\Legacy\ModuleRegistryHandler'
|
||||||
|
App\Service\NavigationProviderInterface: '@App\Legacy\NavbarHandler'
|
||||||
|
App\Service\ProcessHandlerInterface: '@App\Legacy\ResetPasswordHandler'
|
||||||
|
App\Service\RecordActionDefinitionProviderInterface: '@App\Service\RecordActionDefinitionProvider'
|
||||||
|
App\Service\RecordDeletionServiceInterface: '@App\Legacy\RecordDeletionHandler'
|
||||||
|
App\Service\RecordListProviderInterface: '@App\Legacy\RecordListHandler'
|
||||||
|
App\Service\RecordProviderInterface: '@App\Legacy\RecordHandler'
|
||||||
|
App\Service\RouteConverterInterface: '@App\Legacy\RouteConverterHandler'
|
||||||
|
App\Service\StatisticsProviderInterface: '@App\Legacy\Statistics\SubpanelDefault'
|
||||||
|
App\Service\SubPanelDefinitionProviderInterface: '@App\Legacy\ViewDefinitions\SubPanelDefinitionHandler'
|
||||||
|
App\Service\SystemConfigProviderInterface: '@App\Legacy\SystemConfigHandler'
|
||||||
|
App\Service\UserPreferencesProviderInterface: '@App\Legacy\UserPreferenceHandler'
|
||||||
|
App\Service\ViewDefinitionsProviderInterface: '@App\Legacy\ViewDefinitionsHandler'
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
services:
|
|
||||||
# makes classes in extensions/ available to be used as services
|
|
||||||
# this creates a service per class whose id is the fully-qualified class name
|
|
||||||
App\Extension\:
|
|
||||||
resource: '../extensions/*'
|
|
||||||
exclude: '../extensions/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'
|
|
|
@ -13,7 +13,6 @@ imports:
|
||||||
- { resource: modules/**/*.yaml }
|
- { resource: modules/**/*.yaml }
|
||||||
- { resource: modules/**/*.php }
|
- { resource: modules/**/*.php }
|
||||||
- { resource: core_services.yaml }
|
- { resource: core_services.yaml }
|
||||||
- { resource: extension_services.yaml }
|
|
||||||
- { resource: ../extensions/*/config/*.yaml }
|
- { resource: ../extensions/*/config/*.yaml }
|
||||||
- { resource: ../extensions/*/config/*.php }
|
- { resource: ../extensions/*/config/*.php }
|
||||||
- { resource: ../extensions/**/services.yaml }
|
- { resource: ../extensions/**/services.yaml }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue