diff --git a/config/sync/core.entity_form_display.node.collection.default.yml b/config/sync/core.entity_form_display.node.collection.default.yml index 0a397efc..5e750528 100644 --- a/config/sync/core.entity_form_display.node.collection.default.yml +++ b/config/sync/core.entity_form_display.node.collection.default.yml @@ -4,10 +4,70 @@ status: true dependencies: config: - field.field.node.collection.body + - field.field.node.collection.field_ressources_liees - node.type.collection module: - - path + - field_group - text +third_party_settings: + field_group: + group_tabs: + children: + - group_principal + - group_ressources + parent_name: '' + weight: 20 + format_type: tabs + region: content + format_settings: + direction: horizontal + id: '' + classes: '' + label: Tabs + group_principal: + children: + - body + parent_name: group_tabs + weight: 20 + format_type: tab + region: content + format_settings: + id: '' + classes: '' + description: '' + formatter: open + required_fields: true + label: Principal + group_ressources: + children: + - field_ressources_liees + parent_name: group_tabs + weight: 20 + format_type: tab + region: content + format_settings: + id: '' + classes: '' + description: '' + formatter: closed + required_fields: true + label: Ressources + group_details: + children: + - promote + - status + parent_name: '' + weight: 20 + format_type: details_sidebar + region: content + format_settings: + id: '' + classes: '' + description: '' + open: true + required_fields: true + weight: 0 + label: Details id: node.collection.default targetEntityType: node bundle: collection @@ -23,25 +83,16 @@ content: show_summary: false third_party_settings: { } region: content - created: - type: datetime_timestamp - weight: 10 - region: content - settings: { } - third_party_settings: { } - langcode: - type: language_select - weight: 2 - region: content + field_ressources_liees: + weight: 122 settings: - include_locked: true + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' third_party_settings: { } - path: - type: path - weight: 30 + type: entity_reference_autocomplete region: content - settings: { } - third_party_settings: { } promote: type: boolean_checkbox settings: @@ -56,13 +107,6 @@ content: weight: 120 region: content third_party_settings: { } - sticky: - type: boolean_checkbox - settings: - display_label: true - weight: 16 - region: content - third_party_settings: { } title: type: string_textfield weight: -5 @@ -71,19 +115,10 @@ content: size: 60 placeholder: '' third_party_settings: { } - uid: - type: entity_reference_autocomplete - weight: 5 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' - match_limit: 10 - region: content - third_party_settings: { } - url_redirects: - weight: 50 - settings: { } - third_party_settings: { } - region: content -hidden: { } +hidden: + created: true + langcode: true + path: true + sticky: true + uid: true + url_redirects: true diff --git a/config/sync/core.entity_view_display.node.collection.default.yml b/config/sync/core.entity_view_display.node.collection.default.yml index df2f17c4..3342deb6 100644 --- a/config/sync/core.entity_view_display.node.collection.default.yml +++ b/config/sync/core.entity_view_display.node.collection.default.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.field.node.collection.body + - field.field.node.collection.field_ressources_liees - node.type.collection module: - text @@ -20,6 +21,14 @@ content: settings: { } third_party_settings: { } region: content + field_ressources_liees: + weight: 102 + label: above + settings: + link: true + third_party_settings: { } + type: entity_reference_label + region: content links: weight: 100 settings: { } diff --git a/config/sync/core.entity_view_display.node.collection.teaser.yml b/config/sync/core.entity_view_display.node.collection.teaser.yml index bb2b906d..260c1357 100644 --- a/config/sync/core.entity_view_display.node.collection.teaser.yml +++ b/config/sync/core.entity_view_display.node.collection.teaser.yml @@ -5,6 +5,7 @@ dependencies: config: - core.entity_view_mode.node.teaser - field.field.node.collection.body + - field.field.node.collection.field_ressources_liees - node.type.collection module: - text @@ -28,5 +29,6 @@ content: third_party_settings: { } region: content hidden: + field_ressources_liees: true langcode: true search_api_excerpt: true diff --git a/config/sync/field.field.node.collection.body.yml b/config/sync/field.field.node.collection.body.yml index 5fc7949d..887b22ec 100644 --- a/config/sync/field.field.node.collection.body.yml +++ b/config/sync/field.field.node.collection.body.yml @@ -11,7 +11,7 @@ id: node.collection.body field_name: body entity_type: node bundle: collection -label: Body +label: Texte description: '' required: false translatable: true diff --git a/config/sync/field.field.node.collection.field_ressources_liees.yml b/config/sync/field.field.node.collection.field_ressources_liees.yml new file mode 100644 index 00000000..cf3a14f5 --- /dev/null +++ b/config/sync/field.field.node.collection.field_ressources_liees.yml @@ -0,0 +1,29 @@ +uuid: 9ef62114-82d2-43b9-963c-c7cfdbfcb62e +langcode: fr +status: true +dependencies: + config: + - field.storage.node.field_ressources_liees + - node.type.collection + - node.type.ressource +id: node.collection.field_ressources_liees +field_name: field_ressources_liees +entity_type: node +bundle: collection +label: Ressources +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + handler: 'default:node' + handler_settings: + target_bundles: + ressource: ressource + sort: + field: _none + direction: ASC + auto_create: false + auto_create_bundle: '' +field_type: entity_reference