You are here

address.services.yml in Address 8

File

address.services.yml
View source
  1. services:
  2. address.address_format_repository:
  3. class: Drupal\address\Repository\AddressFormatRepository
  4. arguments: ['@event_dispatcher']
  5. address.country_repository:
  6. class: Drupal\address\Repository\CountryRepository
  7. arguments: ['@cache.data', '@language_manager']
  8. address.subdivision_repository:
  9. class: Drupal\address\Repository\SubdivisionRepository
  10. arguments: ['@address.address_format_repository', '@event_dispatcher', '@cache.data']
  11. address.postal_label_formatter:
  12. class: CommerceGuys\Addressing\Formatter\PostalLabelFormatter
  13. arguments: ['@address.address_format_repository', '@address.country_repository', '@address.subdivision_repository']