services:
  access_check.field_collection_item.host_add_operation_add:
    class: Drupal\field_collection\Access\FieldCollectionItemHostAddOperationCheck
    arguments: ['@entity_type.manager']
    tags:
      - { name: access_check, applies_to: _access_add_field_collection_item_to_host }

  access_check.field_collection_item.host_operation:
    class: Drupal\field_collection\Access\FieldCollectionItemHostOperationCheck
    tags:
      - { name: access_check, applies_to: _access_field_collection_item_host }

  access_check.field_collection_item.host_revisions_operation:
    class: Drupal\field_collection\Access\FieldCollectionItemHostRevisionsOperationCheck
    arguments: ['@user.permissions']
    tags:
      - { name: access_check, applies_to: _access_field_collection_item_host_revisions }

  field_collection.normalizer.field_collection_item:
    class: Drupal\field_collection\Normalizer\FieldCollectionItemNormalizer
    arguments: ['@entity.manager']
    tags:
      - { name: normalizer }