more puissance d'agir

This commit is contained in:
2023-05-10 22:37:29 +02:00
parent e622f56356
commit ae01216e60
33 changed files with 789 additions and 52 deletions

View File

@@ -1,5 +1,5 @@
status: 1
pattern: 'besoin-[node:field_concernement:entity:title]-[random:hash:sha1]'
pattern: 'besoin-[node:field_concernement:entity:title]-[node:field_index:value]'
escape: false
preserve_titles: false
save: false

View File

@@ -0,0 +1,9 @@
status: 1
pattern: 'reponse-[node:field_besoin:entity:title]-[random:hash:sha1]'
escape: false
preserve_titles: false
save: false
chunk: 50
dependencies:
config:
- node.type.reponse

View File

@@ -0,0 +1,14 @@
uuid: b1ad7d7a-85f2-485c-aabc-4f557f54e115
langcode: fr
status: true
dependencies: { }
id: besoin_reponse
label: 'besoin reponse'
enabled: true
first_field: field_besoin
second_field: field_reponse
add_direction: append
bundles:
node:
- besoin
- reponse

View File

@@ -5,10 +5,12 @@ dependencies:
config:
- 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:
- field_group
- field_hidden
- text
third_party_settings:
field_group:
@@ -82,6 +84,13 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_index:
type: field_hidden_number
weight: 16
region: content
settings:
placeholder: ''
third_party_settings: { }
field_reponse:
type: entity_reference_autocomplete
weight: 3

View File

@@ -3,33 +3,134 @@ langcode: fr
status: true
dependencies:
config:
- field.field.node.reponse.body
- field.field.node.reponse.field_avec
- field.field.node.reponse.field_besoin
- field.field.node.reponse.field_ou
- field.field.node.reponse.field_qui
- field.field.node.reponse.field_quoi
- node.type.reponse
module:
- conditional_fields
- text
id: node.reponse.default
targetEntityType: node
bundle: reponse
mode: default
content:
body:
type: text_textarea_with_summary
weight: 1
field_avec:
type: text_textarea
weight: 3
region: content
settings:
rows: 9
summary_rows: 3
rows: 5
placeholder: ''
show_summary: false
third_party_settings: { }
title:
type: string_textfield
weight: 0
third_party_settings:
conditional_fields:
6bf630d8-0666-40fa-9bd9-e316f67d31bb:
entity_type: node
bundle: reponse
dependee: field_ou
settings:
state: visible
reset: true
condition: '!empty'
grouping: AND
values_set: 1
value: ''
values: { }
value_form:
-
format: linkonly
value: ''
effect: slide
effect_options:
fade:
speed: '400'
slide:
speed: '400'
selector: ''
field_besoin:
type: entity_reference_autocomplete
weight: 4
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_ou:
type: text_textarea
weight: 2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings:
conditional_fields:
d605b7fd-3063-4450-a3b2-ec6dae88e9bf:
entity_type: node
bundle: reponse
dependee: field_quoi
settings:
state: visible
reset: true
condition: '!empty'
grouping: AND
values_set: 1
value: ''
values: { }
value_form:
-
format: linkonly
value: ''
effect: slide
effect_options:
fade:
speed: '400'
slide:
speed: '400'
selector: ''
field_qui:
type: text_textarea
weight: 0
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_quoi:
type: text_textarea
weight: 1
region: content
settings:
rows: 5
placeholder: ''
third_party_settings:
conditional_fields:
6ed65c54-cd81-4ac0-9fd1-be2ca043f2b8:
entity_type: node
bundle: reponse
dependee: field_qui
settings:
state: visible
reset: true
condition: '!empty'
grouping: AND
values_set: 1
value: ''
values: { }
value_form:
-
format: linkonly
value: ''
effect: slide
effect_options:
fade:
speed: '400'
slide:
speed: '400'
selector: ''
hidden:
created: true
langcode: true
@@ -38,5 +139,6 @@ hidden:
revision_log: true
status: true
sticky: true
title: true
uid: true
url_redirects: true

View File

@@ -5,6 +5,7 @@ dependencies:
config:
- 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:
@@ -30,6 +31,15 @@ content:
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
region: content
field_reponse:
type: entity_reference_label
label: above

View File

@@ -6,6 +6,7 @@ dependencies:
- core.entity_view_mode.node.teaser
- 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:
@@ -31,6 +32,7 @@ content:
region: content
hidden:
field_concernement: true
field_index: true
field_reponse: true
langcode: true
search_api_excerpt: true

View File

@@ -3,7 +3,11 @@ langcode: fr
status: true
dependencies:
config:
- field.field.node.reponse.body
- field.field.node.reponse.field_avec
- field.field.node.reponse.field_besoin
- field.field.node.reponse.field_ou
- field.field.node.reponse.field_qui
- field.field.node.reponse.field_quoi
- node.type.reponse
module:
- text
@@ -13,12 +17,41 @@ targetEntityType: node
bundle: reponse
mode: default
content:
body:
field_avec:
type: text_default
label: hidden
label: above
settings: { }
third_party_settings: { }
weight: 101
weight: 106
region: content
field_besoin:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 102
region: content
field_ou:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 105
region: content
field_qui:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 103
region: content
field_quoi:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 104
region: content
links:
settings: { }

View File

@@ -4,29 +4,29 @@ status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.reponse.body
- field.field.node.reponse.field_avec
- field.field.node.reponse.field_besoin
- field.field.node.reponse.field_ou
- field.field.node.reponse.field_qui
- field.field.node.reponse.field_quoi
- node.type.reponse
module:
- text
- user
id: node.reponse.teaser
targetEntityType: node
bundle: reponse
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
hidden:
field_avec: true
field_besoin: true
field_ou: true
field_qui: true
field_quoi: true
langcode: true
search_api_excerpt: true

View File

@@ -23,7 +23,9 @@ module:
block_class: 0
breakpoint: 0
bulkdelete: 0
cer: 0
ckeditor: 0
conditional_fields: 0
config: 0
config_devel: 0
config_filter: 0
@@ -56,6 +58,7 @@ module:
entity_reference_revisions: 0
field: 0
field_group: 0
field_hidden: 0
field_ui: 0
file: 0
filter: 0
@@ -103,6 +106,7 @@ module:
path_alias_xt: 0
pathologic: 0
persistent_login: 0
prepopulate: 0
redirect: 0
redis: 0
regcode: 0

View File

@@ -0,0 +1,23 @@
uuid: 934ad462-6d4b-4ce8-be17-e3991d8a683f
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_index
- node.type.besoin
id: node.besoin.field_index
field_name: field_index
entity_type: node
bundle: besoin
label: index
description: 'hidden field prepopulated by code. Only used for auto entity label (naming the besoin with field delta of IEF (inline entity reference) in the concernement)'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
min: null
max: null
prefix: ''
suffix: ''
field_type: integer

View File

@@ -1,23 +0,0 @@
uuid: 3fb92c3b-505d-4991-abde-b44e3f7a8ae0
langcode: fr
status: true
dependencies:
config:
- field.storage.node.body
- node.type.reponse
module:
- text
id: node.reponse.body
field_name: body
entity_type: node
bundle: reponse
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: true
required_summary: false
field_type: text_with_summary

View File

@@ -0,0 +1,21 @@
uuid: 3e7b0531-3382-4d12-ba73-2417c03843a5
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_avec
- node.type.reponse
module:
- text
id: node.reponse.field_avec
field_name: field_avec
entity_type: node
bundle: reponse
label: Avec
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: text_long

View File

@@ -0,0 +1,29 @@
uuid: 427d92a7-ee39-4184-bf23-074aebb26faf
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_besoin
- node.type.besoin
- node.type.reponse
id: node.reponse.field_besoin
field_name: field_besoin
entity_type: node
bundle: reponse
label: Besoin
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:node'
handler_settings:
target_bundles:
besoin: besoin
sort:
field: _none
direction: ASC
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View File

@@ -0,0 +1,21 @@
uuid: a64ee8d1-1070-4afe-aec9-c90849a612f8
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_ou
- node.type.reponse
module:
- text
id: node.reponse.field_ou
field_name: field_ou
entity_type: node
bundle: reponse
label:
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: text_long

View File

@@ -0,0 +1,21 @@
uuid: 64b5d63b-a57d-43c0-a44d-4d36106e3fd3
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_qui
- node.type.reponse
module:
- text
id: node.reponse.field_qui
field_name: field_qui
entity_type: node
bundle: reponse
label: Qui
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: text_long

View File

@@ -0,0 +1,21 @@
uuid: 11643489-f75f-4a4b-950e-8db77da1c1b4
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_quoi
- node.type.reponse
module:
- text
id: node.reponse.field_quoi
field_name: field_quoi
entity_type: node
bundle: reponse
label: Quoi
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: text_long

View File

@@ -0,0 +1,19 @@
uuid: 9dd22d40-14e7-4ee7-9983-d426ce022fef
langcode: fr
status: true
dependencies:
module:
- node
- text
id: node.field_avec
field_name: field_avec
entity_type: node
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,20 @@
uuid: 424eacf0-ae50-4644-bc28-982685ea7570
langcode: fr
status: true
dependencies:
module:
- node
id: node.field_index
field_name: field_index
entity_type: node
type: integer
settings:
unsigned: false
size: normal
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,19 @@
uuid: a89cd8fe-4b8c-45e9-922f-a5c47af3ab45
langcode: fr
status: true
dependencies:
module:
- node
- text
id: node.field_ou
field_name: field_ou
entity_type: node
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,19 @@
uuid: 7eb9540b-75d8-42d0-9968-a295681cbd16
langcode: fr
status: true
dependencies:
module:
- node
- text
id: node.field_qui
field_name: field_qui
entity_type: node
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,19 @@
uuid: a07ae4a6-8a45-4cf3-a51f-7f41e7e7346d
langcode: fr
status: true
dependencies:
module:
- node
- text
id: node.field_quoi
field_name: field_quoi
entity_type: node
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -7,6 +7,7 @@ dependencies:
- node.type.besoin
- node.type.concernement
- node.type.entite
- node.type.reponse
- node.type.static
- taxonomy.vocabulary.lieu
- taxonomy.vocabulary.structure
@@ -60,6 +61,7 @@ permissions:
- 'create evenement content'
- 'create generique workflow_transition'
- 'create page content'
- 'create reponse content'
- 'create static content'
- 'create terms in collectionneurs'
- 'create terms in entrees'
@@ -80,6 +82,7 @@ permissions:
- 'delete own besoin content'
- 'delete own concernement content'
- 'delete own entite content'
- 'delete own reponse content'
- 'delete own static content'
- 'delete static revisions'
- 'delete terms in collectionneurs'
@@ -95,9 +98,11 @@ permissions:
- 'edit any entite content'
- 'edit any evenement content'
- 'edit any page content'
- 'edit any reponse content'
- 'edit any static content'
- 'edit own concernement content'
- 'edit own enregistrement content'
- 'edit own reponse content'
- 'edit terms in collectionneurs'
- 'edit terms in entrees'
- 'edit terms in genres'

View File

@@ -6,6 +6,7 @@ dependencies:
- node.type.besoin
- node.type.concernement
- node.type.entite
- node.type.reponse
- taxonomy.vocabulary.lieu
- taxonomy.vocabulary.structure
module:
@@ -30,13 +31,16 @@ permissions:
- 'create concernement content'
- 'create confidentialite workflow_transition'
- 'create entite content'
- 'create reponse content'
- 'create terms in lieu'
- 'create terms in structure'
- 'create users'
- 'delete own reponse content'
- 'delete terms in lieu'
- 'delete terms in structure'
- 'edit own concernement content'
- 'edit own entite content'
- 'edit own reponse content'
- 'edit terms in lieu'
- 'edit terms in structure'
- 'edit users by role'

View File

@@ -6,6 +6,7 @@ dependencies:
- node.type.besoin
- node.type.concernement
- node.type.entite
- node.type.reponse
module:
- node
- system
@@ -22,8 +23,11 @@ permissions:
- 'create concernement content'
- 'create confidentialite workflow_transition'
- 'create entite content'
- 'create reponse content'
- 'delete own reponse content'
- 'edit own concernement content'
- 'edit own entite content'
- 'edit own reponse content'
- 'revert concernement revisions'
- 'revert entite revisions'
- 'view concernement revisions'

View File

@@ -4,6 +4,7 @@ status: true
dependencies:
config:
- node.type.besoin
- node.type.reponse
module:
- node
- workflow
@@ -18,3 +19,6 @@ permissions:
- 'create confidentialite workflow_transition'
- 'create defalut workflow_transition'
- 'create default workflow_transition'
- 'create reponse content'
- 'delete own reponse content'
- 'edit own reponse content'