This repository has been archived on 2022-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
goodnightout_composer/config/feeds.feed_type.csv_clients...

104 lines
2.2 KiB
YAML

uuid: 4eb11220-0e79-4e7f-a0d8-2300fb7b365b
langcode: en
status: true
dependencies:
config:
- field.field.oc_organisation.client.field_client_subtype
- field.field.oc_organisation.client.field_client_type
- field.field.oc_organisation.client.field_tags
- field.field.oc_organisation.client.field_umbrella_client
- opencase_entities.oc_organisation_type.client
module:
- opencase_entities
id: csv_clients
label: 'CSV Clients'
description: ''
help: ''
import_period: -1
fetcher: upload
fetcher_configuration:
allowed_extensions: 'txt csv tsv xml opml'
directory: 'public://feeds'
parser: csv
parser_configuration:
delimiter: ','
no_headers: false
line_limit: 100
processor: 'entity:oc_organisation'
processor_configuration:
langcode: en
update_existing: 1
update_non_existent: _delete
expire: -1
owner_feed_author: false
owner_id: 0
authorize: true
skip_hash_check: false
values:
type: client
custom_sources:
tags:
label: Tags
value: Tags
machine_name: tags
name:
label: Name
value: Name
machine_name: name
umbrella_client:
label: 'Umbrella Client'
value: 'Umbrella Client'
machine_name: umbrella_client
client_type:
label: 'Client type'
value: 'Client type'
machine_name: client_type
client_subtype:
label: 'Client subtype'
value: 'Client subtype'
machine_name: client_subtype
umbrella_client_2:
label: 'Umbrella client'
value: 'Umbrella client'
machine_name: umbrella_client_2
mappings:
-
target: field_tags
map:
target_id: tags
settings:
language: ''
reference_by: name
autocreate: '1'
-
target: name
map:
value: name
unique: { }
settings: { }
-
target: field_umbrella_client
map:
target_id: umbrella_client_2
settings:
language: ''
reference_by: id
feeds_item: guid
autocreate: 0
-
target: field_client_type
map:
target_id: client_type
settings:
language: ''
reference_by: name
autocreate: '1'
-
target: field_client_subtype
map:
target_id: client_subtype
settings:
language: ''
reference_by: name
autocreate: '1'