diff --git a/config/sync/core.entity_form_display.node.projet.default.yml b/config/sync/core.entity_form_display.node.projet.default.yml index 191d48f..ae006a6 100644 --- a/config/sync/core.entity_form_display.node.projet.default.yml +++ b/config/sync/core.entity_form_display.node.projet.default.yml @@ -7,6 +7,7 @@ dependencies: - field.field.node.projet.field_adresse - field.field.node.projet.field_encours_fini - field.field.node.projet.field_equipe + - field.field.node.projet.field_etape_du_projet - field.field.node.projet.field_fichiers - field.field.node.projet.field_geofield - field.field.node.projet.field_incube @@ -16,6 +17,8 @@ dependencies: - field.field.node.projet.field_photo - field.field.node.projet.field_ressource_s_liee_s_ - field.field.node.projet.field_textes + - field.field.node.projet.field_type_de_moa + - field.field.node.projet.field_type_de_projet - image.style.thumbnail - node.type.projet module: @@ -66,9 +69,12 @@ third_party_settings: group_details: children: - status - - field_incube - - field_neuf_rehabilitation - promote + - field_incube + - field_type_de_moa + - field_type_de_projet + - field_etape_du_projet + - field_neuf_rehabilitation - field_encours_fini label: Details region: content @@ -144,7 +150,7 @@ content: third_party_settings: { } field_encours_fini: type: options_select - weight: 4 + weight: 7 region: content settings: { } third_party_settings: { } @@ -156,6 +162,12 @@ content: size: 60 placeholder: '' third_party_settings: { } + field_etape_du_projet: + type: options_select + weight: 5 + region: content + settings: { } + third_party_settings: { } field_fichiers: type: file_generic weight: 27 @@ -172,7 +184,7 @@ content: third_party_settings: { } field_incube: type: boolean_checkbox - weight: 1 + weight: 2 region: content settings: display_label: true @@ -187,7 +199,7 @@ content: third_party_settings: { } field_neuf_rehabilitation: type: options_select - weight: 2 + weight: 6 region: content settings: { } third_party_settings: { } @@ -233,9 +245,29 @@ content: form_display_mode: default default_paragraph_type: '' third_party_settings: { } + field_type_de_moa: + type: entity_reference_autocomplete + weight: 3 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } + field_type_de_projet: + type: entity_reference_autocomplete + weight: 4 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } promote: type: boolean_checkbox - weight: 3 + weight: 1 region: content settings: display_label: true diff --git a/config/sync/field.field.node.projet.field_etape_du_projet.yml b/config/sync/field.field.node.projet.field_etape_du_projet.yml new file mode 100644 index 0000000..1eca9af --- /dev/null +++ b/config/sync/field.field.node.projet.field_etape_du_projet.yml @@ -0,0 +1,23 @@ +uuid: f7279bd9-ef57-4f41-bb20-8589cf556b4d +langcode: fr +status: true +dependencies: + config: + - field.storage.node.field_etape_du_projet + - node.type.projet + module: + - options +id: node.projet.field_etape_du_projet +field_name: field_etape_du_projet +entity_type: node +bundle: projet +label: 'Étape du projet' +description: '' +required: false +translatable: false +default_value: + - + value: 1 +default_value_callback: '' +settings: { } +field_type: list_integer diff --git a/config/sync/field.field.node.projet.field_type_de_moa.yml b/config/sync/field.field.node.projet.field_type_de_moa.yml new file mode 100644 index 0000000..97d0241 --- /dev/null +++ b/config/sync/field.field.node.projet.field_type_de_moa.yml @@ -0,0 +1,29 @@ +uuid: 5f72872e-3b22-490f-bd9d-1ae45f85d801 +langcode: fr +status: true +dependencies: + config: + - field.storage.node.field_type_de_moa + - node.type.projet + - taxonomy.vocabulary.type_de_moa +id: node.projet.field_type_de_moa +field_name: field_type_de_moa +entity_type: node +bundle: projet +label: 'Type de MOA' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + type_de_moa: type_de_moa + sort: + field: name + direction: asc + auto_create: true + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.field.node.projet.field_type_de_projet.yml b/config/sync/field.field.node.projet.field_type_de_projet.yml new file mode 100644 index 0000000..91690f5 --- /dev/null +++ b/config/sync/field.field.node.projet.field_type_de_projet.yml @@ -0,0 +1,29 @@ +uuid: f1196716-6848-4852-af62-43632c46deba +langcode: fr +status: true +dependencies: + config: + - field.storage.node.field_type_de_projet + - node.type.projet + - taxonomy.vocabulary.type_de_projet +id: node.projet.field_type_de_projet +field_name: field_type_de_projet +entity_type: node +bundle: projet +label: 'Type de projet' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + type_de_projet: type_de_projet + sort: + field: name + direction: asc + auto_create: true + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.storage.node.field_etape_du_projet.yml b/config/sync/field.storage.node.field_etape_du_projet.yml new file mode 100644 index 0000000..89c15c1 --- /dev/null +++ b/config/sync/field.storage.node.field_etape_du_projet.yml @@ -0,0 +1,36 @@ +uuid: df73553c-1d9a-4349-a209-4700293d613d +langcode: fr +status: true +dependencies: + module: + - node + - options +id: node.field_etape_du_projet +field_name: field_etape_du_projet +entity_type: node +type: list_integer +settings: + allowed_values: + - + value: 1 + label: 'étape 1' + - + value: 2 + label: 'étape 2' + - + value: 3 + label: 'étape 3' + - + value: 4 + label: 'étape 4' + - + value: 5 + label: 'étape 5' + allowed_values_function: '' +module: options +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_type_de_moa.yml b/config/sync/field.storage.node.field_type_de_moa.yml new file mode 100644 index 0000000..7bf0d31 --- /dev/null +++ b/config/sync/field.storage.node.field_type_de_moa.yml @@ -0,0 +1,20 @@ +uuid: 518b5923-17c4-4293-af33-5d311d5c717a +langcode: fr +status: true +dependencies: + module: + - node + - taxonomy +id: node.field_type_de_moa +field_name: field_type_de_moa +entity_type: node +type: entity_reference +settings: + target_type: taxonomy_term +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_type_de_projet.yml b/config/sync/field.storage.node.field_type_de_projet.yml new file mode 100644 index 0000000..b513af9 --- /dev/null +++ b/config/sync/field.storage.node.field_type_de_projet.yml @@ -0,0 +1,20 @@ +uuid: 39dc9980-6305-4e3d-a003-68cf80026904 +langcode: fr +status: true +dependencies: + module: + - node + - taxonomy +id: node.field_type_de_projet +field_name: field_type_de_projet +entity_type: node +type: entity_reference +settings: + target_type: taxonomy_term +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/language.content_settings.taxonomy_term.type_de_moa.yml b/config/sync/language.content_settings.taxonomy_term.type_de_moa.yml new file mode 100644 index 0000000..69372a0 --- /dev/null +++ b/config/sync/language.content_settings.taxonomy_term.type_de_moa.yml @@ -0,0 +1,11 @@ +uuid: 28326192-31a4-4a79-8403-09661e4f82a4 +langcode: fr +status: true +dependencies: + config: + - taxonomy.vocabulary.type_de_moa +id: taxonomy_term.type_de_moa +target_entity_type_id: taxonomy_term +target_bundle: type_de_moa +default_langcode: site_default +language_alterable: false diff --git a/config/sync/language.content_settings.taxonomy_term.type_de_projet.yml b/config/sync/language.content_settings.taxonomy_term.type_de_projet.yml new file mode 100644 index 0000000..404dd20 --- /dev/null +++ b/config/sync/language.content_settings.taxonomy_term.type_de_projet.yml @@ -0,0 +1,11 @@ +uuid: 9cd741fb-306b-4876-9ba4-d885cfd65216 +langcode: fr +status: true +dependencies: + config: + - taxonomy.vocabulary.type_de_projet +id: taxonomy_term.type_de_projet +target_entity_type_id: taxonomy_term +target_bundle: type_de_projet +default_langcode: site_default +language_alterable: false diff --git a/config/sync/taxonomy.vocabulary.type_de_moa.yml b/config/sync/taxonomy.vocabulary.type_de_moa.yml new file mode 100644 index 0000000..9e213d3 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.type_de_moa.yml @@ -0,0 +1,8 @@ +uuid: c470345b-eacc-4320-8263-b20c51833791 +langcode: fr +status: true +dependencies: { } +name: 'Type de MOA' +vid: type_de_moa +description: '' +weight: 0 diff --git a/config/sync/taxonomy.vocabulary.type_de_projet.yml b/config/sync/taxonomy.vocabulary.type_de_projet.yml new file mode 100644 index 0000000..38a3cfb --- /dev/null +++ b/config/sync/taxonomy.vocabulary.type_de_projet.yml @@ -0,0 +1,8 @@ +uuid: 7aa853ed-9e82-42f6-9a76-17d319b7e07a +langcode: fr +status: true +dependencies: { } +name: 'Type de projet' +vid: type_de_projet +description: '' +weight: 0