CT ressource refactoring
This commit is contained in:
@@ -3,7 +3,6 @@ langcode: fr
|
|||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.node.ressource.body
|
|
||||||
- field.field.node.ressource.field_actu_liee
|
- field.field.node.ressource.field_actu_liee
|
||||||
- field.field.node.ressource.field_auteur_s_
|
- field.field.node.ressource.field_auteur_s_
|
||||||
- field.field.node.ressource.field_collections
|
- field.field.node.ressource.field_collections
|
||||||
@@ -12,8 +11,10 @@ dependencies:
|
|||||||
- field.field.node.ressource.field_fichiers
|
- field.field.node.ressource.field_fichiers
|
||||||
- field.field.node.ressource.field_images
|
- field.field.node.ressource.field_images
|
||||||
- field.field.node.ressource.field_liens
|
- field.field.node.ressource.field_liens
|
||||||
|
- field.field.node.ressource.field_mots_clefs
|
||||||
- field.field.node.ressource.field_ress
|
- field.field.node.ressource.field_ress
|
||||||
- field.field.node.ressource.field_sous_titre
|
- field.field.node.ressource.field_sous_titre
|
||||||
|
- field.field.node.ressource.field_textes
|
||||||
- field.field.node.ressource.field_type_de_ressource
|
- field.field.node.ressource.field_type_de_ressource
|
||||||
- field.field.node.ressource.field_videos
|
- field.field.node.ressource.field_videos
|
||||||
- image.style.thumbnail
|
- image.style.thumbnail
|
||||||
@@ -24,6 +25,7 @@ dependencies:
|
|||||||
- file
|
- file
|
||||||
- image
|
- image
|
||||||
- link
|
- link
|
||||||
|
- paragraphs
|
||||||
- text
|
- text
|
||||||
- video_embed_field
|
- video_embed_field
|
||||||
third_party_settings:
|
third_party_settings:
|
||||||
@@ -49,7 +51,7 @@ third_party_settings:
|
|||||||
children:
|
children:
|
||||||
- title
|
- title
|
||||||
- field_sous_titre
|
- field_sous_titre
|
||||||
- body
|
- field_textes
|
||||||
parent_name: group_tabs
|
parent_name: group_tabs
|
||||||
weight: 20
|
weight: 20
|
||||||
format_type: tab
|
format_type: tab
|
||||||
@@ -120,6 +122,7 @@ third_party_settings:
|
|||||||
- field_date_de_parution
|
- field_date_de_parution
|
||||||
- field_edition
|
- field_edition
|
||||||
- field_auteur_s_
|
- field_auteur_s_
|
||||||
|
- field_mots_clefs
|
||||||
parent_name: group_tabs
|
parent_name: group_tabs
|
||||||
weight: 21
|
weight: 21
|
||||||
format_type: tab
|
format_type: tab
|
||||||
@@ -137,16 +140,6 @@ targetEntityType: node
|
|||||||
bundle: ressource
|
bundle: ressource
|
||||||
mode: default
|
mode: default
|
||||||
content:
|
content:
|
||||||
body:
|
|
||||||
type: text_textarea_with_summary
|
|
||||||
weight: -3
|
|
||||||
settings:
|
|
||||||
rows: 9
|
|
||||||
summary_rows: 3
|
|
||||||
placeholder: ''
|
|
||||||
show_summary: false
|
|
||||||
third_party_settings: { }
|
|
||||||
region: content
|
|
||||||
field_actu_liee:
|
field_actu_liee:
|
||||||
weight: 129
|
weight: 129
|
||||||
settings:
|
settings:
|
||||||
@@ -158,7 +151,7 @@ content:
|
|||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
region: content
|
region: content
|
||||||
field_auteur_s_:
|
field_auteur_s_:
|
||||||
weight: 7
|
weight: 132
|
||||||
settings:
|
settings:
|
||||||
rows: 5
|
rows: 5
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
@@ -176,13 +169,13 @@ content:
|
|||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
region: content
|
region: content
|
||||||
field_date_de_parution:
|
field_date_de_parution:
|
||||||
weight: 5
|
weight: 130
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: datetime_default
|
type: datetime_default
|
||||||
region: content
|
region: content
|
||||||
field_edition:
|
field_edition:
|
||||||
weight: 6
|
weight: 131
|
||||||
settings:
|
settings:
|
||||||
rows: 5
|
rows: 5
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
@@ -212,6 +205,16 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: link_default
|
type: link_default
|
||||||
region: content
|
region: content
|
||||||
|
field_mots_clefs:
|
||||||
|
weight: 133
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
match_limit: 10
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
type: entity_reference_autocomplete
|
||||||
|
region: content
|
||||||
field_ress:
|
field_ress:
|
||||||
weight: 128
|
weight: 128
|
||||||
settings:
|
settings:
|
||||||
@@ -230,6 +233,18 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: string_textfield
|
type: string_textfield
|
||||||
region: content
|
region: content
|
||||||
|
field_textes:
|
||||||
|
weight: -3
|
||||||
|
settings:
|
||||||
|
title: Paragraph
|
||||||
|
title_plural: Paragraphs
|
||||||
|
edit_mode: open
|
||||||
|
add_mode: dropdown
|
||||||
|
form_display_mode: default
|
||||||
|
default_paragraph_type: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
type: entity_reference_paragraphs
|
||||||
|
region: content
|
||||||
field_type_de_ressource:
|
field_type_de_ressource:
|
||||||
weight: 3
|
weight: 3
|
||||||
settings:
|
settings:
|
||||||
@@ -241,7 +256,7 @@ content:
|
|||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
region: content
|
region: content
|
||||||
field_videos:
|
field_videos:
|
||||||
weight: 131
|
weight: 127
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: video_embed_field_textfield
|
type: video_embed_field_textfield
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ langcode: fr
|
|||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.node.ressource.body
|
|
||||||
- field.field.node.ressource.field_actu_liee
|
- field.field.node.ressource.field_actu_liee
|
||||||
- field.field.node.ressource.field_auteur_s_
|
- field.field.node.ressource.field_auteur_s_
|
||||||
- field.field.node.ressource.field_collections
|
- field.field.node.ressource.field_collections
|
||||||
@@ -12,13 +11,16 @@ dependencies:
|
|||||||
- field.field.node.ressource.field_fichiers
|
- field.field.node.ressource.field_fichiers
|
||||||
- field.field.node.ressource.field_images
|
- field.field.node.ressource.field_images
|
||||||
- field.field.node.ressource.field_liens
|
- field.field.node.ressource.field_liens
|
||||||
|
- field.field.node.ressource.field_mots_clefs
|
||||||
- field.field.node.ressource.field_ress
|
- field.field.node.ressource.field_ress
|
||||||
- field.field.node.ressource.field_sous_titre
|
- field.field.node.ressource.field_sous_titre
|
||||||
|
- field.field.node.ressource.field_textes
|
||||||
- field.field.node.ressource.field_type_de_ressource
|
- field.field.node.ressource.field_type_de_ressource
|
||||||
- field.field.node.ressource.field_videos
|
- field.field.node.ressource.field_videos
|
||||||
- node.type.ressource
|
- node.type.ressource
|
||||||
module:
|
module:
|
||||||
- datetime
|
- datetime
|
||||||
|
- entity_reference_revisions
|
||||||
- file
|
- file
|
||||||
- image
|
- image
|
||||||
- link
|
- link
|
||||||
@@ -30,13 +32,6 @@ targetEntityType: node
|
|||||||
bundle: ressource
|
bundle: ressource
|
||||||
mode: default
|
mode: default
|
||||||
content:
|
content:
|
||||||
body:
|
|
||||||
label: hidden
|
|
||||||
type: text_default
|
|
||||||
weight: 6
|
|
||||||
settings: { }
|
|
||||||
third_party_settings: { }
|
|
||||||
region: content
|
|
||||||
field_actu_liee:
|
field_actu_liee:
|
||||||
weight: 12
|
weight: 12
|
||||||
label: above
|
label: above
|
||||||
@@ -105,6 +100,14 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: link
|
type: link
|
||||||
region: content
|
region: content
|
||||||
|
field_mots_clefs:
|
||||||
|
weight: 13
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
type: entity_reference_label
|
||||||
|
region: content
|
||||||
field_ress:
|
field_ress:
|
||||||
weight: 11
|
weight: 11
|
||||||
label: visually_hidden
|
label: visually_hidden
|
||||||
@@ -121,6 +124,15 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: string
|
type: string
|
||||||
region: content
|
region: content
|
||||||
|
field_textes:
|
||||||
|
weight: 14
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
view_mode: default
|
||||||
|
link: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
type: entity_reference_revisions_entity_view
|
||||||
|
region: content
|
||||||
field_type_de_ressource:
|
field_type_de_ressource:
|
||||||
weight: 0
|
weight: 0
|
||||||
label: visually_hidden
|
label: visually_hidden
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- core.entity_view_mode.node.sidebar
|
- core.entity_view_mode.node.sidebar
|
||||||
- field.field.node.ressource.body
|
|
||||||
- field.field.node.ressource.field_actu_liee
|
- field.field.node.ressource.field_actu_liee
|
||||||
- field.field.node.ressource.field_auteur_s_
|
- field.field.node.ressource.field_auteur_s_
|
||||||
- field.field.node.ressource.field_collections
|
- field.field.node.ressource.field_collections
|
||||||
@@ -13,8 +12,10 @@ dependencies:
|
|||||||
- field.field.node.ressource.field_fichiers
|
- field.field.node.ressource.field_fichiers
|
||||||
- field.field.node.ressource.field_images
|
- field.field.node.ressource.field_images
|
||||||
- field.field.node.ressource.field_liens
|
- field.field.node.ressource.field_liens
|
||||||
|
- field.field.node.ressource.field_mots_clefs
|
||||||
- field.field.node.ressource.field_ress
|
- field.field.node.ressource.field_ress
|
||||||
- field.field.node.ressource.field_sous_titre
|
- field.field.node.ressource.field_sous_titre
|
||||||
|
- field.field.node.ressource.field_textes
|
||||||
- field.field.node.ressource.field_type_de_ressource
|
- field.field.node.ressource.field_type_de_ressource
|
||||||
- field.field.node.ressource.field_videos
|
- field.field.node.ressource.field_videos
|
||||||
- image.style.medium
|
- image.style.medium
|
||||||
@@ -62,7 +63,6 @@ content:
|
|||||||
linked: true
|
linked: true
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
hidden:
|
hidden:
|
||||||
body: true
|
|
||||||
created: true
|
created: true
|
||||||
field_actu_liee: true
|
field_actu_liee: true
|
||||||
field_auteur_s_: true
|
field_auteur_s_: true
|
||||||
@@ -71,7 +71,9 @@ hidden:
|
|||||||
field_edition: true
|
field_edition: true
|
||||||
field_fichiers: true
|
field_fichiers: true
|
||||||
field_liens: true
|
field_liens: true
|
||||||
|
field_mots_clefs: true
|
||||||
field_ress: true
|
field_ress: true
|
||||||
|
field_textes: true
|
||||||
field_videos: true
|
field_videos: true
|
||||||
langcode: true
|
langcode: true
|
||||||
links: true
|
links: true
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- core.entity_view_mode.node.teaser
|
- core.entity_view_mode.node.teaser
|
||||||
- field.field.node.ressource.body
|
|
||||||
- field.field.node.ressource.field_actu_liee
|
- field.field.node.ressource.field_actu_liee
|
||||||
- field.field.node.ressource.field_auteur_s_
|
- field.field.node.ressource.field_auteur_s_
|
||||||
- field.field.node.ressource.field_collections
|
- field.field.node.ressource.field_collections
|
||||||
@@ -13,8 +12,10 @@ dependencies:
|
|||||||
- field.field.node.ressource.field_fichiers
|
- field.field.node.ressource.field_fichiers
|
||||||
- field.field.node.ressource.field_images
|
- field.field.node.ressource.field_images
|
||||||
- field.field.node.ressource.field_liens
|
- field.field.node.ressource.field_liens
|
||||||
|
- field.field.node.ressource.field_mots_clefs
|
||||||
- field.field.node.ressource.field_ress
|
- field.field.node.ressource.field_ress
|
||||||
- field.field.node.ressource.field_sous_titre
|
- field.field.node.ressource.field_sous_titre
|
||||||
|
- field.field.node.ressource.field_textes
|
||||||
- field.field.node.ressource.field_type_de_ressource
|
- field.field.node.ressource.field_type_de_ressource
|
||||||
- field.field.node.ressource.field_videos
|
- field.field.node.ressource.field_videos
|
||||||
- node.type.ressource
|
- node.type.ressource
|
||||||
@@ -76,14 +77,15 @@ content:
|
|||||||
linked: true
|
linked: true
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
hidden:
|
hidden:
|
||||||
body: true
|
|
||||||
created: true
|
created: true
|
||||||
field_actu_liee: true
|
field_actu_liee: true
|
||||||
field_collections: true
|
field_collections: true
|
||||||
field_fichiers: true
|
field_fichiers: true
|
||||||
field_images: true
|
field_images: true
|
||||||
field_liens: true
|
field_liens: true
|
||||||
|
field_mots_clefs: true
|
||||||
field_ress: true
|
field_ress: true
|
||||||
|
field_textes: true
|
||||||
field_videos: true
|
field_videos: true
|
||||||
langcode: true
|
langcode: true
|
||||||
links: true
|
links: true
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
uuid: 9e5794f6-1ec1-41f6-85fc-e2798e64b13b
|
|
||||||
langcode: fr
|
|
||||||
status: true
|
|
||||||
dependencies:
|
|
||||||
config:
|
|
||||||
- field.storage.node.body
|
|
||||||
- node.type.ressource
|
|
||||||
module:
|
|
||||||
- text
|
|
||||||
id: node.ressource.body
|
|
||||||
field_name: body
|
|
||||||
entity_type: node
|
|
||||||
bundle: ressource
|
|
||||||
label: Texte
|
|
||||||
description: ''
|
|
||||||
required: false
|
|
||||||
translatable: true
|
|
||||||
default_value: { }
|
|
||||||
default_value_callback: ''
|
|
||||||
settings:
|
|
||||||
display_summary: true
|
|
||||||
required_summary: false
|
|
||||||
field_type: text_with_summary
|
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
uuid: 6282707b-4106-49b1-a6b6-9ff9a5b7973c
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_mots_clefs
|
||||||
|
- node.type.ressource
|
||||||
|
- taxonomy.vocabulary.tag_ressource
|
||||||
|
id: node.ressource.field_mots_clefs
|
||||||
|
field_name: field_mots_clefs
|
||||||
|
entity_type: node
|
||||||
|
bundle: ressource
|
||||||
|
label: 'Mots clefs'
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:taxonomy_term'
|
||||||
|
handler_settings:
|
||||||
|
target_bundles:
|
||||||
|
tag_ressource: tag_ressource
|
||||||
|
sort:
|
||||||
|
field: name
|
||||||
|
direction: asc
|
||||||
|
auto_create: true
|
||||||
|
auto_create_bundle: ''
|
||||||
|
field_type: entity_reference
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
uuid: 266505a2-30da-4ad7-bdf8-221e034784f3
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_textes
|
||||||
|
- node.type.ressource
|
||||||
|
- paragraphs.paragraphs_type.texte
|
||||||
|
module:
|
||||||
|
- entity_reference_revisions
|
||||||
|
id: node.ressource.field_textes
|
||||||
|
field_name: field_textes
|
||||||
|
entity_type: node
|
||||||
|
bundle: ressource
|
||||||
|
label: Textes
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: true
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:paragraph'
|
||||||
|
handler_settings:
|
||||||
|
negate: 0
|
||||||
|
target_bundles:
|
||||||
|
texte: texte
|
||||||
|
target_bundles_drag_drop:
|
||||||
|
partenaire:
|
||||||
|
weight: 4
|
||||||
|
enabled: false
|
||||||
|
personne:
|
||||||
|
weight: 5
|
||||||
|
enabled: false
|
||||||
|
texte:
|
||||||
|
enabled: true
|
||||||
|
weight: 6
|
||||||
|
field_type: entity_reference_revisions
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
uuid: 58801744-86ca-45e0-9ee3-4f11595d7149
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
- taxonomy
|
||||||
|
id: node.field_mots_clefs
|
||||||
|
field_name: field_mots_clefs
|
||||||
|
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
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
uuid: d05aa3a0-41f2-49f4-897f-48b9ed21e336
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- taxonomy.vocabulary.tag_ressource
|
||||||
|
id: taxonomy_term.tag_ressource
|
||||||
|
target_entity_type_id: taxonomy_term
|
||||||
|
target_bundle: tag_ressource
|
||||||
|
default_langcode: und
|
||||||
|
language_alterable: false
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
uuid: 17ab8bf2-2bba-42b5-af71-303b38469c60
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
name: 'tag ressource'
|
||||||
|
vid: tag_ressource
|
||||||
|
description: ''
|
||||||
|
weight: 0
|
||||||
Reference in New Issue
Block a user