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:
2026-07-26 16:26:18 +02:00
parent 829653a9e9
commit a2cb5f9dcf
28 changed files with 1600 additions and 142 deletions
@@ -5,34 +5,26 @@ dependencies:
config:
- core.entity_view_mode.node.teaser
- 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:
- text
- user
id: node.personne.teaser
targetEntityType: node
bundle: personne
mode: teaser
content:
body:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 600
third_party_settings: { }
weight: 101
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
content: { }
hidden:
body: true
field_nom: true
field_prenom: true
field_projet_s_lie_s: true
field_projets_curates: true
field_type_de_personne: true
langcode: true
links: true
search_api_excerpt: true