inline entity form for entity paragraph in concernement

This commit is contained in:
Bachir Soussi Chiadmi 2022-11-07 17:18:22 +01:00
parent 99f5eb1016
commit 69156838a0
2 changed files with 14 additions and 4 deletions

View File

@ -8,6 +8,8 @@ dependencies:
- field.field.paragraph.entite_concernement.field_menace_maintien_degres
- field.field.paragraph.entite_concernement.field_prise
- paragraphs.paragraphs_type.entite_concernement
module:
- inline_entity_form
id: paragraph.entite_concernement.default
targetEntityType: paragraph
bundle: entite_concernement
@ -20,14 +22,21 @@ content:
settings: { }
third_party_settings: { }
field_entite:
type: entity_reference_autocomplete
type: inline_entity_form_complex
weight: 0
region: content
settings:
form_mode: default
override_labels: false
label_singular: ''
label_plural: ''
allow_new: true
allow_existing: false
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
allow_duplicate: false
collapsible: false
collapsed: false
revision: false
third_party_settings: { }
field_menace_maintien_degres:
type: number

View File

@ -7,4 +7,5 @@ label: 'Entité intégrée'
icon_uuid: null
icon_default: null
description: 'Paragraphe qui pointe un CT entité et y ajoute les infos propre au concernement'
save_empty: false
behavior_plugins: { }