services:
  _defaults:
    autowire: true
  cache.file_mdm:
    class: Drupal\Core\Cache\CacheBackendInterface
    tags:
      - { name: cache.bin }
    factory: cache_factory:get
    arguments: ['file_mdm']
  logger.channel.file_mdm:
    parent: logger.channel_base
    arguments: ['file_mdm']
  Drupal\file_mdm\FileMetadataManagerInterface:
    class: Drupal\file_mdm\FileMetadataManager
  Drupal\file_mdm\Plugin\FileMetadataPluginManagerInterface:
    class: Drupal\file_mdm\Plugin\FileMetadataPluginManager

  file_metadata_manager:
    alias: Drupal\file_mdm\FileMetadataManagerInterface
    deprecated: 'The "%alias_id%" service alias is deprecated. Use "Drupal\file_mdm\FileMetadataManagerInterface" service id instead.'
  Drupal\file_mdm\FileMetadataManager:
    alias: Drupal\file_mdm\FileMetadataManagerInterface
    deprecated: 'The "%alias_id%" service alias is deprecated. Use "Drupal\file_mdm\FileMetadataManagerInterface" service id instead.'
  Drupal\file_mdm\Plugin\FileMetadataPluginManager:
    alias: Drupal\file_mdm\Plugin\FileMetadataPluginManagerInterface
    deprecated: 'The "%alias_id%" service alias is deprecated. Use "Drupal\file_mdm\FileMetadataPluginManagerInterface" service id instead.'
