added confidentiality to besoin, renamed reponse to ressource

This commit is contained in:
Bachir Soussi Chiadmi 2023-05-22 13:00:33 +02:00
parent 3e5df9e3e0
commit 4c4505ce4e
9 changed files with 98 additions and 23 deletions

29
src/composer.lock generated
View File

@ -10211,16 +10211,16 @@
},
{
"name": "guzzlehttp/promises",
"version": "1.5.2",
"version": "1.5.3",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
"reference": "b94b2807d85443f9719887892882d0329d1e2598"
"reference": "67ab6e18aaa14d753cc148911d273f6e6cb6721e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598",
"reference": "b94b2807d85443f9719887892882d0329d1e2598",
"url": "https://api.github.com/repos/guzzle/promises/zipball/67ab6e18aaa14d753cc148911d273f6e6cb6721e",
"reference": "67ab6e18aaa14d753cc148911d273f6e6cb6721e",
"shasum": ""
},
"require": {
@ -10230,11 +10230,6 @@
"symfony/phpunit-bridge": "^4.4 || ^5.1"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.5-dev"
}
},
"autoload": {
"files": [
"src/functions_include.php"
@ -10275,7 +10270,7 @@
],
"support": {
"issues": "https://github.com/guzzle/promises/issues",
"source": "https://github.com/guzzle/promises/tree/1.5.2"
"source": "https://github.com/guzzle/promises/tree/1.5.3"
},
"funding": [
{
@ -10291,7 +10286,7 @@
"type": "tidelift"
}
],
"time": "2022-08-28T14:55:35+00:00"
"time": "2023-05-21T12:31:43+00:00"
},
{
"name": "guzzlehttp/psr7",
@ -14779,16 +14774,16 @@
},
{
"name": "twig/twig",
"version": "v2.15.4",
"version": "v2.15.5",
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig.git",
"reference": "3e059001d6d597dd50ea7c74dd2464b4adea48d3"
"reference": "fc02a6af3eeb97c4bf5650debc76c2eda85ac22e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/3e059001d6d597dd50ea7c74dd2464b4adea48d3",
"reference": "3e059001d6d597dd50ea7c74dd2464b4adea48d3",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/fc02a6af3eeb97c4bf5650debc76c2eda85ac22e",
"reference": "fc02a6af3eeb97c4bf5650debc76c2eda85ac22e",
"shasum": ""
},
"require": {
@ -14843,7 +14838,7 @@
],
"support": {
"issues": "https://github.com/twigphp/Twig/issues",
"source": "https://github.com/twigphp/Twig/tree/v2.15.4"
"source": "https://github.com/twigphp/Twig/tree/v2.15.5"
},
"funding": [
{
@ -14855,7 +14850,7 @@
"type": "tidelift"
}
],
"time": "2022-12-27T12:26:20+00:00"
"time": "2023-05-03T17:49:41+00:00"
},
{
"name": "typo3/phar-stream-wrapper",

View File

@ -5,6 +5,7 @@ dependencies:
config:
- field.field.node.besoin.body
- field.field.node.besoin.field_concernement
- field.field.node.besoin.field_confidentialite
- field.field.node.besoin.field_index
- field.field.node.besoin.field_reponse
- node.type.besoin
@ -13,12 +14,14 @@ dependencies:
- field_hidden
- readonly_field_widget
- text
- workflow
third_party_settings:
field_group:
group_tabs:
children:
- group_besoin
- group_reponse
- group_c
label: Tabs
region: content
parent_name: ''
@ -48,7 +51,7 @@ third_party_settings:
group_reponse:
children:
- field_reponse
label: Réponses
label: Ressources
region: content
parent_name: group_tabs
weight: 15
@ -60,6 +63,21 @@ third_party_settings:
formatter: closed
description: ''
required_fields: true
group_c:
children:
- field_confidentialite
label: Confidentialité
region: content
parent_name: group_tabs
weight: 16
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
id: node.besoin.default
targetEntityType: node
bundle: besoin
@ -85,6 +103,12 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_confidentialite:
type: workflow_default
weight: 17
region: content
settings: { }
third_party_settings: { }
field_index:
type: field_hidden_number
weight: 16

View File

@ -6,6 +6,7 @@ dependencies:
- 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_confidentialite
- field.field.node.besoin.field_index
- field.field.node.besoin.field_reponse
- node.type.besoin
@ -34,6 +35,7 @@ content:
region: content
hidden:
created: true
field_confidentialite: true
field_index: true
field_reponse: true
langcode: true

View File

@ -5,12 +5,14 @@ dependencies:
config:
- field.field.node.besoin.body
- field.field.node.besoin.field_concernement
- field.field.node.besoin.field_confidentialite
- field.field.node.besoin.field_index
- field.field.node.besoin.field_reponse
- node.type.besoin
module:
- manage_display
- options
- text
- user
id: node.besoin.default
targetEntityType: node
bundle: besoin
@ -31,6 +33,13 @@ content:
third_party_settings: { }
weight: 0
region: content
field_confidentialite:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 3
region: content
field_reponse:
type: entity_reference_label
label: above
@ -39,8 +48,19 @@ content:
third_party_settings: { }
weight: 2
region: content
title:
type: title
label: hidden
settings:
link_to_entity: true
tag: h2
third_party_settings: { }
weight: -49
region: content
hidden:
created: true
field_index: true
langcode: true
links: true
search_api_excerpt: true
uid: true

View File

@ -6,12 +6,13 @@ dependencies:
- core.entity_view_mode.node.teaser
- field.field.node.besoin.body
- field.field.node.besoin.field_concernement
- field.field.node.besoin.field_confidentialite
- field.field.node.besoin.field_index
- field.field.node.besoin.field_reponse
- node.type.besoin
module:
- manage_display
- text
- user
id: node.besoin.teaser
targetEntityType: node
bundle: besoin
@ -30,9 +31,21 @@ 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
field_concernement: true
field_confidentialite: true
field_index: true
field_reponse: true
langcode: true
search_api_excerpt: true
uid: true

View File

@ -0,0 +1,22 @@
uuid: a0dd2fb7-19fa-4942-b9bc-7ea20bab5842
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_confidentialite
- node.type.besoin
module:
- workflow
id: node.besoin.field_confidentialite
field_name: field_confidentialite
entity_type: node
bundle: besoin
label: Confidentialité
description: "<b>Privé:</b> seul⋅e l'auteur⋅ice du contenu peut éditer et voir ce contenu<br/>\r\n<b>Interne:</b> seul⋅e l'auteur⋅ice du contenu peut éditer, les utilisateur⋅ice⋅s enregistré⋅e⋅s du site peuvent voir<br/>\r\n<b>Public:</b> seul⋅e l'auteur⋅ice du contenu peut éditer, tout le monde peut voir<br/>"
required: true
translatable: true
default_value:
- { }
default_value_callback: ''
settings: { }
field_type: workflow

View File

@ -10,7 +10,7 @@ id: node.besoin.field_reponse
field_name: field_reponse
entity_type: node
bundle: besoin
label: Réponse
label: Ressources
description: ''
required: false
translatable: false

View File

@ -8,7 +8,7 @@ third_party_settings:
menu_ui:
available_menus: { }
parent: ''
name: Reponse
name: Ressource
type: reponse
description: ''
help: ''

View File

@ -61,7 +61,6 @@ permissions:
- 'add chutier entities'
- 'administer account menu items'
- 'administer account settings'
- 'administer actions'
- 'administer admin menu items'
- 'administer blocks'
- 'administer chutier display'