mdrop_suite-1.0.0-alpha1/modules/mdrop_suite_modal/mdrop_suite_modal.services.yml
modules/mdrop_suite_modal/mdrop_suite_modal.services.yml
services:
mdrop_suite_modal.helper:
class: Drupal\mdrop_suite_modal\MdropSuiteModalHelper
arguments: ['@config.factory', '@theme.initialization', '@theme.manager', '@current_route_match']
mdrop_suite_modal.route_subscriber:
class: Drupal\mdrop_suite_modal\EventSubscriber\MdropSuiteModalRouteSubscriber
tags:
- { name: event_subscriber }
mdrop_suite_modal.theme_negotiator:
class: Drupal\mdrop_suite_modal\Theme\MdropSuiteModalThemeNegotiator
arguments: ['@csrf_token', '@config.factory', '@request_stack']
tags:
- { name: theme_negotiator, priority: 1004 }
mdrop_suite_modal.library.discovery.collector:
decorates: library.discovery.collector
class: \Drupal\mdrop_suite_modal\MdropSuiteModalLibraryDiscoveryCollector
arguments: ['@cache.discovery', '@lock', '@library.discovery.parser', '@theme.manager']
tags:
- { name: needs_destruction }
calls:
- [setThemeInitialization, ['@theme.initialization']]
- [setCurrentRouteMatch, ['@current_route_match']]
- [setConfigFactory, ['@config.factory']]
