-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiso3166.services.yml
31 lines (28 loc) · 1.07 KB
/
iso3166.services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
services:
# Services
iso3166:
class: Drupal\iso3166\Service\Iso3166
arguments: ['@plugin.manager.country', '@iso3166.country_factory']
iso3166.data_provider:
class: Drupal\iso3166\Service\DataProvider
arguments: ['@string_translation']
# Factories
iso3166.country_factory:
class: Drupal\iso3166\Factory\CountryFactory
arguments: ['@plugin.manager.country', '@iso3166.continent_factory']
iso3166.continent_factory:
class: Drupal\iso3166\Factory\ContinentFactory
arguments: ['@plugin.manager.continent']
iso3166.country_collection_factory:
class: Drupal\iso3166\Factory\CountryCollectionFactory
arguments: ['@iso3166.country_factory']
# Plugin managers
plugin.manager.country:
class: Drupal\iso3166\Plugin\Iso3166\CountryManager
parent: default_plugin_manager
plugin.manager.continent:
class: Drupal\iso3166\Plugin\Iso3166\ContinentManager
parent: default_plugin_manager
plugin.manager.country_collection:
class: Drupal\iso3166\Plugin\Iso3166\CountryCollectionManager
parent: default_plugin_manager