fixed concernement admin form display, more puissanceagir

This commit is contained in:
2023-05-15 16:25:19 +02:00
parent ae01216e60
commit 45e31ee3a9
27 changed files with 660 additions and 178 deletions

View File

@@ -1,8 +1,8 @@
status: 1
pattern: 'reponse-[node:field_besoin:entity:title]-[random:hash:sha1]'
pattern: 'reponse-[node:field_besoin_on_reponses:entity:title]-[random:hash:sha1]'
escape: false
preserve_titles: false
save: false
save: true
chunk: 50
dependencies:
config:

View File

@@ -5,8 +5,8 @@ dependencies: { }
id: besoin_reponse
label: 'besoin reponse'
enabled: true
first_field: field_besoin
second_field: field_reponse
first_field: field_reponse
second_field: field_besoin_on_reponses
add_direction: append
bundles:
node:

View File

@@ -11,6 +11,7 @@ dependencies:
module:
- field_group
- field_hidden
- readonly_field_widget
- text
third_party_settings:
field_group:
@@ -92,14 +93,31 @@ content:
placeholder: ''
third_party_settings: { }
field_reponse:
type: entity_reference_autocomplete
type: readonly_field_widget
weight: 3
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
label: hidden
formatter_type: entity_reference_entity_view
formatter_settings:
entity_reference_entity_view:
view_mode: reponse_on_besoin
entity_reference_label:
link: true
formatter_suite_general_entity_reference:
entityReferenceStyle: title
titleCustomText: ''
classes: ''
showLink: '1'
openLinkIn: _self
linkTopic: any
listStyle: span
listSeparator: ', '
formatter_suite_entity_reference_render_list:
view_mode: default
listStyle: span
listSeparator: ','
show_description: false
third_party_settings: { }
title:
type: string_textfield

View File

@@ -27,7 +27,7 @@ third_party_settings:
label: Details
region: content
parent_name: ''
weight: 1
weight: 2
format_type: details_sidebar
format_settings:
classes: ''
@@ -40,13 +40,14 @@ third_party_settings:
group_tabs:
children:
- group_contenu
- group_sources
- group_superpositions
- group_proximites
- group_con
label: Tabs
region: content
parent_name: ''
weight: 0
weight: 1
format_type: tabs
format_settings:
classes: ''
@@ -60,7 +61,6 @@ third_party_settings:
- field_entite_agissante
- field_action
- field_menace_maintien
- field_sources
label: Contenu
region: content
parent_name: group_tabs
@@ -79,7 +79,7 @@ third_party_settings:
label: Proximités
region: content
parent_name: group_tabs
weight: 15
weight: 17
format_type: tab
format_settings:
classes: ''
@@ -94,7 +94,7 @@ third_party_settings:
label: Superpositions
region: content
parent_name: group_tabs
weight: 14
weight: 16
format_type: tab
format_settings:
classes: ''
@@ -109,7 +109,22 @@ third_party_settings:
label: Confidentialité
region: content
parent_name: group_tabs
weight: 16
weight: 18
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
group_sources:
children:
- field_sources
label: Sources
region: content
parent_name: group_tabs
weight: 15
format_type: tab
format_settings:
classes: ''
@@ -134,18 +149,12 @@ content:
weight: 2
region: content
settings:
rows: 8
rows: 5
placeholder: ''
third_party_settings:
maxlength:
maxlength_js: null
maxlength_js_label: 'Contenu limité à @limit caractères, restant : <strong>@remaining</strong>'
maxlength_js_enforce: false
advanced_text_formatter:
show_token_tree: 0
third_party_settings: { }
field_confidentialite:
type: workflow_default
weight: 32
weight: 1
region: content
settings: { }
third_party_settings: { }
@@ -161,15 +170,9 @@ content:
weight: 3
region: content
settings:
rows: 8
rows: 5
placeholder: ''
third_party_settings:
maxlength:
maxlength_js: null
maxlength_js_label: 'Contenu limité à @limit caractères, restant : <strong>@remaining</strong>'
maxlength_js_enforce: false
advanced_text_formatter:
show_token_tree: 0
third_party_settings: { }
field_proximite:
type: entity_reference_autocomplete
weight: 5
@@ -220,12 +223,13 @@ content:
weight: 0
region: content
settings:
size: 80
placeholder: 'Pouvez-vous nommer par qui ou par quoi "CONCERNEMENT" est menacé ou maintenu ? '
size: 40
placeholder: ''
third_party_settings:
maxlength:
maxlength_js: null
maxlength_js_label: 'Contenu limité à @limit caractères, restant : <strong>@remaining</strong>'
maxlength_js_enforce: false
advanced_text_formatter:
show_token_tree: 0
uid:
@@ -242,5 +246,6 @@ hidden:
langcode: true
path: true
promote: true
revision_log: true
sticky: true
url_redirects: true

View File

@@ -4,13 +4,14 @@ status: true
dependencies:
config:
- field.field.node.reponse.field_avec
- field.field.node.reponse.field_besoin
- field.field.node.reponse.field_besoin_on_reponses
- field.field.node.reponse.field_ou
- field.field.node.reponse.field_qui
- field.field.node.reponse.field_quoi
- node.type.reponse
module:
- conditional_fields
- readonly_field_widget
- text
id: node.reponse.default
targetEntityType: node
@@ -19,7 +20,7 @@ mode: default
content:
field_avec:
type: text_textarea
weight: 3
weight: 4
region: content
settings:
rows: 5
@@ -49,19 +50,34 @@ content:
slide:
speed: '400'
selector: ''
field_besoin:
type: entity_reference_autocomplete
weight: 4
field_besoin_on_reponses:
type: readonly_field_widget
weight: 0
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
label: hidden
formatter_type: entity_reference_entity_view
formatter_settings:
entity_reference_entity_view:
view_mode: besoin_on_reponse_form
formatter_suite_general_entity_reference:
entityReferenceStyle: title
titleCustomText: ''
classes: ''
openLinkIn: _self
linkTopic: any
showLink: 0
formatter_suite_entity_reference_render_list:
view_mode: default
listStyle: span
listSeparator: ','
entity_reference_label:
link: false
show_description: false
third_party_settings: { }
field_ou:
type: text_textarea
weight: 2
weight: 3
region: content
settings:
rows: 5
@@ -93,7 +109,7 @@ content:
selector: ''
field_qui:
type: text_textarea
weight: 0
weight: 1
region: content
settings:
rows: 5
@@ -101,7 +117,7 @@ content:
third_party_settings: { }
field_quoi:
type: text_textarea
weight: 1
weight: 2
region: content
settings:
rows: 5

View File

@@ -0,0 +1,43 @@
uuid: 5241b500-38b1-4f4f-af04-157824436690
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.besoin_on_reponse_form
- field.field.node.besoin.body
- field.field.node.besoin.field_concernement
- field.field.node.besoin.field_index
- field.field.node.besoin.field_reponse
- node.type.besoin
module:
- text
id: node.besoin.besoin_on_reponse_form
targetEntityType: node
bundle: besoin
mode: besoin_on_reponse_form
content:
body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
field_concernement:
type: entity_reference_entity_view
label: hidden
settings:
view_mode: conecernement_on_reponse_form
link: false
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
field_index: true
field_reponse: true
langcode: true
links: true
search_api_excerpt: true
title: true
uid: true

View File

@@ -21,24 +21,15 @@ content:
label: hidden
settings: { }
third_party_settings: { }
weight: 101
weight: 1
region: content
field_concernement:
type: entity_reference_label
label: above
label: hidden
settings:
link: true
third_party_settings: { }
weight: 102
region: content
field_index:
type: number_integer
label: above
settings:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
weight: 104
weight: 0
region: content
field_reponse:
type: entity_reference_label
@@ -46,13 +37,10 @@ content:
settings:
link: true
third_party_settings: { }
weight: 103
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
weight: 2
region: content
hidden:
field_index: true
langcode: true
links: true
search_api_excerpt: true

View File

@@ -0,0 +1,45 @@
uuid: 3fdeaaad-38b3-4ebe-8c2d-6a56bf7af5ee
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.conecernement_on_reponse_form
- field.field.node.concernement.field_besoin
- field.field.node.concernement.field_caillou
- field.field.node.concernement.field_confidentialite
- field.field.node.concernement.field_description
- field.field.node.concernement.field_doleancer
- field.field.node.concernement.field_entite
- field.field.node.concernement.field_lieu
- field.field.node.concernement.field_recit
- node.type.concernement
module:
- manage_display
id: node.concernement.conecernement_on_reponse_form
targetEntityType: node
bundle: concernement
mode: conecernement_on_reponse_form
content:
title:
type: title
label: hidden
settings:
link_to_entity: false
tag: h2
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
field_besoin: true
field_caillou: true
field_confidentialite: true
field_description: true
field_doleancer: true
field_entite: true
field_lieu: true
field_recit: true
langcode: true
links: true
search_api_excerpt: true
uid: true

View File

@@ -15,8 +15,8 @@ dependencies:
module:
- entity_reference_revisions
- file
- manage_display
- options
- user
id: node.concernement.default
targetEntityType: node
bundle: concernement
@@ -90,6 +90,17 @@ content:
third_party_settings: { }
weight: 100
region: content
title:
type: title
label: hidden
settings:
link_to_entity: true
tag: h2
third_party_settings: { }
weight: -49
region: content
hidden:
created: true
langcode: true
search_api_excerpt: true
uid: true

View File

@@ -4,14 +4,14 @@ status: true
dependencies:
config:
- field.field.node.reponse.field_avec
- field.field.node.reponse.field_besoin
- field.field.node.reponse.field_besoin_on_reponses
- field.field.node.reponse.field_ou
- field.field.node.reponse.field_qui
- field.field.node.reponse.field_quoi
- node.type.reponse
module:
- manage_display
- text
- user
id: node.reponse.default
targetEntityType: node
bundle: reponse
@@ -24,13 +24,13 @@ content:
third_party_settings: { }
weight: 106
region: content
field_besoin:
field_besoin_on_reponses:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 102
weight: 107
region: content
field_ou:
type: text_default
@@ -58,6 +58,17 @@ content:
third_party_settings: { }
weight: 100
region: content
title:
type: title
label: hidden
settings:
link_to_entity: true
tag: h2
third_party_settings: { }
weight: -49
region: content
hidden:
created: true
langcode: true
search_api_excerpt: true
uid: true

View File

@@ -0,0 +1,71 @@
uuid: 726f6621-a84a-4d9c-ab28-00d669f438ed
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.reponse_on_besoin
- field.field.node.reponse.field_avec
- field.field.node.reponse.field_besoin_on_reponses
- field.field.node.reponse.field_ou
- field.field.node.reponse.field_qui
- field.field.node.reponse.field_quoi
- node.type.reponse
module:
- text
id: node.reponse.reponse_on_besoin
targetEntityType: node
bundle: reponse
mode: reponse_on_besoin
content:
created:
type: timestamp
label: inline
settings:
date_format: medium
custom_date_format: ''
timezone: ''
third_party_settings: { }
weight: 1
region: content
field_avec:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 5
region: content
field_ou:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 4
region: content
field_qui:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 2
region: content
field_quoi:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 3
region: content
uid:
type: entity_reference_label
label: inline
settings:
link: false
third_party_settings: { }
weight: 0
region: content
hidden:
field_besoin_on_reponses: true
langcode: true
links: true
search_api_excerpt: true
title: true

View File

@@ -5,7 +5,7 @@ dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.reponse.field_avec
- field.field.node.reponse.field_besoin
- field.field.node.reponse.field_besoin_on_reponses
- field.field.node.reponse.field_ou
- field.field.node.reponse.field_qui
- field.field.node.reponse.field_quoi
@@ -24,7 +24,7 @@ content:
region: content
hidden:
field_avec: true
field_besoin: true
field_besoin_on_reponses: true
field_ou: true
field_qui: true
field_quoi: true

View File

@@ -0,0 +1,10 @@
uuid: 4febbdcd-34ea-45e3-9162-507812a251a6
langcode: fr
status: true
dependencies:
module:
- node
id: node.besoin_on_reponse_form
label: 'besoin on reponse form'
targetEntityType: node
cache: true

View File

@@ -0,0 +1,10 @@
uuid: e3948b92-8cb6-4bca-9471-83c621931b01
langcode: fr
status: true
dependencies:
module:
- node
id: node.conecernement_on_reponse_form
label: 'conecernement on reponse form'
targetEntityType: node
cache: true

View File

@@ -0,0 +1,10 @@
uuid: 6f49a72e-b6a4-46a5-8295-ac01a4c2afe9
langcode: fr
status: true
dependencies:
module:
- node
id: node.reponse_on_besoin
label: 'reponse on besoin form'
targetEntityType: node
cache: true

View File

@@ -11,6 +11,7 @@ module:
admin_toolbar_tools: 0
administerusersbyrole: 0
advanced_text_formatter: 0
allowed_formats: 0
amswap: 0
audiofield: 0
auto_entitylabel: 0
@@ -56,6 +57,7 @@ module:
entity_browser_enhanced: 0
entity_limit: 0
entity_reference_revisions: 0
epp: 0
field: 0
field_group: 0
field_hidden: 0
@@ -88,6 +90,7 @@ module:
linkit: 0
locale: 0
maillog: 0
manage_display: 0
maxlength: 0
menu_block: 0
menu_link_content: 0
@@ -106,7 +109,7 @@ module:
path_alias_xt: 0
pathologic: 0
persistent_login: 0
prepopulate: 0
readonly_field_widget: 0
redirect: 0
redis: 0
regcode: 0

View File

@@ -1,19 +1,25 @@
uuid: 427d92a7-ee39-4184-bf23-074aebb26faf
uuid: 13a2410a-c986-4080-a136-f180df9391ab
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_besoin
- field.storage.node.field_besoin_on_reponses
- node.type.besoin
- node.type.reponse
id: node.reponse.field_besoin
field_name: field_besoin
module:
- epp
third_party_settings:
epp:
value: 'target_id: ''[current-page:query:besoin_id]'''
on_update: 0
id: node.reponse.field_besoin_on_reponses
field_name: field_besoin_on_reponses
entity_type: node
bundle: reponse
label: Besoin
label: besoin
description: ''
required: false
translatable: true
translatable: false
default_value: { }
default_value_callback: ''
settings:

View File

@@ -6,7 +6,12 @@ dependencies:
- field.storage.paragraph.field_description
- paragraphs.paragraphs_type.source
module:
- allowed_formats
- text
third_party_settings:
allowed_formats:
allowed_formats:
- linkonly
id: paragraph.source.field_description
field_name: field_description
entity_type: paragraph

View File

@@ -0,0 +1,19 @@
uuid: 5d423353-2eb9-48fc-b6ac-e4a70b8d318c
langcode: fr
status: true
dependencies:
module:
- node
id: node.field_besoin_on_reponses
field_name: field_besoin_on_reponses
entity_type: node
type: entity_reference
settings:
target_type: node
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false