mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 04:47:10 +08:00
Remove default_index_method from tagged services
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
This commit is contained in:
parent
491a6dac41
commit
e9efb1d6af
3 changed files with 8 additions and 13 deletions
|
@ -91,7 +91,7 @@ services:
|
|||
# inject all services tagged with app.process.handler as first argument
|
||||
# and use the value of the 'getProcessType' method to index the services
|
||||
arguments:
|
||||
- !tagged { tag: 'app.process.handler', default_index_method: 'getProcessType' }
|
||||
- !tagged { tag: 'app.process.handler' }
|
||||
|
||||
App\Security\LegacySessionDenyAccessListener:
|
||||
decorates: 'api_platform.security.listener.request.deny_access'
|
||||
|
@ -130,30 +130,25 @@ services:
|
|||
|
||||
App\Legacy\UserPreferences\UserPreferencesMappers:
|
||||
# inject all services tagged with user.preferences.mapper as first argument
|
||||
# and use the value of the 'getKey' method to index the services
|
||||
arguments:
|
||||
- !tagged { tag: 'user.preferences.mapper', default_index_method: 'getKey' }
|
||||
- !tagged { tag: 'user.preferences.mapper' }
|
||||
|
||||
App\Legacy\SystemConfig\SystemConfigMappers:
|
||||
# inject all services tagged with system.config.mapper as first argument
|
||||
# and use the value of the 'getKey' method to index the services
|
||||
arguments:
|
||||
- !tagged { tag: 'system.config.mapper', default_index_method: 'getKey' }
|
||||
- !tagged { tag: 'system.config.mapper' }
|
||||
|
||||
App\Legacy\Data\PresetListDataHandlers:
|
||||
# inject all services tagged with app.data.preset.handler as first argument
|
||||
# and use the value of the 'getType' method to index the services
|
||||
arguments:
|
||||
- !tagged { tag: 'app.data.preset.handler', default_index_method: 'getType' }
|
||||
- !tagged { tag: 'app.data.preset.handler' }
|
||||
|
||||
App\Service\StatisticsProviderRegistry:
|
||||
# inject all services tagged with app.data.statistics.handler as first argument
|
||||
# and use the value of the 'getKey' method to index the services
|
||||
arguments:
|
||||
- !tagged { tag: 'app.data.statistics.handler', default_index_method: 'getKey' }
|
||||
- !tagged { tag: 'app.data.statistics.handler' }
|
||||
|
||||
App\Legacy\Data\FilterMapper\FilterMappers:
|
||||
# inject all services tagged with app.data.filter.mapper as first argument
|
||||
# and use the value of the 'getType' method to index the services
|
||||
arguments:
|
||||
- !tagged { tag: 'app.data.filter.mapper', default_index_method: 'getType' }
|
||||
- !tagged { tag: 'app.data.filter.mapper' }
|
||||
|
|
|
@ -113,4 +113,4 @@ class MergeRecordsBulkAction implements ProcessHandlerInterface, LoggerAwareInte
|
|||
{
|
||||
$this->logger = $logger;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,4 +38,4 @@ interface ProcessHandlerInterface
|
|||
* @return mixed
|
||||
*/
|
||||
public function run(Process $process);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue