migration projets: body markdown, images HD, légendes, personnes prénom/nom
- ProjetNode: body Markdown->HTML (strip HTML brut), images + légendes lues
depuis public://drive_shared_leshed/Page{UID}
- ImageResizeImport: nouveau process plugin, redimensionne les images en web HD
(max 1920px) et crée le fichier managé (idempotent)
- field_images: caption via image_field_caption, alt depuis les légendes
- PersonneGenerate: nom dans field_nom (titre auto-généré via auto_entitylabel),
dédup sur field_nom + field_prenom
- title: skip_on_empty (ligne ignorée si "Nom du projet" vide)
- CER: relation curateur sur field_projets_curates (distinct de field_projet_s_lie_s)
- deps: + league/commonmark, image_field_caption, auto_entitylabel ; - migrate_file
This commit is contained in:
@@ -4,8 +4,10 @@ status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.node.personne.body
|
||||
- field.field.node.personne.field_nom
|
||||
- field.field.node.personne.field_prenom
|
||||
- field.field.node.personne.field_projet_s_lie_s
|
||||
- field.field.node.personne.field_projets_curates
|
||||
- field.field.node.personne.field_type_de_personne
|
||||
- node.type.personne
|
||||
module:
|
||||
@@ -23,6 +25,14 @@ content:
|
||||
third_party_settings: { }
|
||||
weight: 101
|
||||
region: content
|
||||
field_nom:
|
||||
type: string
|
||||
label: above
|
||||
settings:
|
||||
link_to_entity: false
|
||||
third_party_settings: { }
|
||||
weight: 109
|
||||
region: content
|
||||
field_prenom:
|
||||
type: string
|
||||
label: above
|
||||
@@ -39,6 +49,14 @@ content:
|
||||
third_party_settings: { }
|
||||
weight: 108
|
||||
region: content
|
||||
field_projets_curates:
|
||||
type: entity_reference_label
|
||||
label: above
|
||||
settings:
|
||||
link: true
|
||||
third_party_settings: { }
|
||||
weight: 110
|
||||
region: content
|
||||
field_type_de_personne:
|
||||
type: entity_reference_label
|
||||
label: above
|
||||
|
||||
Reference in New Issue
Block a user