added thésaurus to thématique

This commit is contained in:
Bachir Soussi Chiadmi 2021-08-04 16:11:55 +02:00
parent b586cb7ab7
commit 378fdd7051
6 changed files with 92 additions and 18 deletions

View File

@ -9,6 +9,7 @@ dependencies:
- field.field.node.thematique.field_memo - field.field.node.thematique.field_memo
- field.field.node.thematique.field_short_description - field.field.node.thematique.field_short_description
- field.field.node.thematique.field_tags - field.field.node.thematique.field_tags
- field.field.node.thematique.field_thesaurus
- field.field.node.thematique.field_visuel - field.field.node.thematique.field_visuel
- field.field.node.thematique.field_workflow - field.field.node.thematique.field_workflow
- image.style.thumbnail - image.style.thumbnail
@ -17,6 +18,7 @@ dependencies:
- field_group - field_group
- image - image
- path - path
- term_reference_tree
- text - text
- workflow - workflow
third_party_settings: third_party_settings:
@ -67,6 +69,7 @@ third_party_settings:
label: Media label: Media
group_taxonomy: group_taxonomy:
children: children:
- field_thesaurus
- field_tags - field_tags
parent_name: group_htabs parent_name: group_htabs
weight: 21 weight: 21
@ -176,7 +179,7 @@ content:
type: string_textfield type: string_textfield
region: content region: content
field_tags: field_tags:
weight: 30 weight: 32
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
size: 60 size: 60
@ -185,6 +188,18 @@ content:
third_party_settings: { } third_party_settings: { }
type: entity_reference_autocomplete type: entity_reference_autocomplete
region: content region: content
field_thesaurus:
weight: 31
settings:
start_minimized: true
select_parents: true
cascading_selection: 0
track_list: true
max_depth: 0
leaves_only: false
third_party_settings: { }
type: term_reference_tree
region: content
field_visuel: field_visuel:
weight: 13 weight: 13
settings: settings:

View File

@ -9,8 +9,10 @@ dependencies:
- field.field.node.thematique.field_memo - field.field.node.thematique.field_memo
- field.field.node.thematique.field_short_description - field.field.node.thematique.field_short_description
- field.field.node.thematique.field_tags - field.field.node.thematique.field_tags
- field.field.node.thematique.field_thesaurus
- field.field.node.thematique.field_visuel - field.field.node.thematique.field_visuel
- field.field.node.thematique.field_workflow - field.field.node.thematique.field_workflow
- image.style.card_full
- node.type.thematique - node.type.thematique
module: module:
- image - image
@ -24,12 +26,12 @@ content:
body: body:
label: hidden label: hidden
type: text_default type: text_default
weight: 101 weight: 4
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
region: content region: content
field_linked_articles: field_linked_articles:
weight: 105 weight: 6
label: above label: above
settings: settings:
link: true link: true
@ -37,7 +39,7 @@ content:
type: entity_reference_label type: entity_reference_label
region: content region: content
field_linked_materials: field_linked_materials:
weight: 102 weight: 5
label: above label: above
settings: settings:
link: true link: true
@ -45,26 +47,18 @@ content:
type: entity_reference_label type: entity_reference_label
region: content region: content
field_short_description: field_short_description:
weight: 107 weight: 1
label: above label: above
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
type: string type: string
region: content region: content
field_tags:
weight: 103
label: above
settings:
link: true
third_party_settings: { }
type: entity_reference_label
region: content
field_visuel: field_visuel:
weight: 104 weight: 3
label: above label: visually_hidden
settings: settings:
image_style: '' image_style: card_full
image_link: '' image_link: ''
third_party_settings: { } third_party_settings: { }
type: image type: image
@ -110,20 +104,22 @@ content:
third_party_settings: { } third_party_settings: { }
region: content region: content
links: links:
weight: 100 weight: 2
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
title: title:
label: hidden label: hidden
type: string type: string
weight: -5 weight: 0
region: content region: content
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
hidden: hidden:
field_memo: true field_memo: true
field_tags: true
field_thesaurus: true
field_workflow: true field_workflow: true
flag_flag_list_template_1: true flag_flag_list_template_1: true
langcode: true langcode: true

View File

@ -10,6 +10,7 @@ dependencies:
- field.field.node.thematique.field_memo - field.field.node.thematique.field_memo
- field.field.node.thematique.field_short_description - field.field.node.thematique.field_short_description
- field.field.node.thematique.field_tags - field.field.node.thematique.field_tags
- field.field.node.thematique.field_thesaurus
- field.field.node.thematique.field_visuel - field.field.node.thematique.field_visuel
- field.field.node.thematique.field_workflow - field.field.node.thematique.field_workflow
- node.type.thematique - node.type.thematique
@ -93,6 +94,7 @@ hidden:
field_memo: true field_memo: true
field_short_description: true field_short_description: true
field_tags: true field_tags: true
field_thesaurus: true
field_visuel: true field_visuel: true
field_workflow: true field_workflow: true
langcode: true langcode: true

View File

@ -0,0 +1,37 @@
uuid: ac0d35f6-fd4a-454e-8c7a-704c180c60c9
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_thesaurus
- node.type.thematique
- taxonomy.vocabulary.thesaurus
module:
- unique_content_field_validation
third_party_settings:
unique_content_field_validation:
unique: false
unique_text: ''
unique_multivalue: true
unique_multivalue_text: ''
id: node.thematique.field_thesaurus
field_name: field_thesaurus
entity_type: node
bundle: thematique
label: Thesaurus
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
thesaurus: thesaurus
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View File

@ -3,8 +3,12 @@ langcode: en
status: true status: true
dependencies: dependencies:
module: module:
- field_permissions
- node - node
- taxonomy - taxonomy
third_party_settings:
field_permissions:
permission_type: public
id: node.field_thesaurus id: node.field_thesaurus
field_name: field_thesaurus field_name: field_thesaurus
entity_type: node entity_type: node

View File

@ -0,0 +1,20 @@
uuid: 0430c71d-83a2-4254-8bd1-214299f802cc
langcode: fr
status: true
dependencies: { }
id: node
bundles:
thematique:
field_thesaurus:
bundle: thematique
name: field_thesaurus
entity_type_id: node
rtf: 'no'
rta: 'no'
enabled: false
anonymizer: ''
notes: ''
relationship: 0
sars_filename: ''
filenames:
thematique: ''