Compare commits
12 Commits
30476585f6
...
8b88b3e349
Author | SHA1 | Date |
---|---|---|
Bachir Soussi Chiadmi | 8b88b3e349 | |
Bachir Soussi Chiadmi | 6350038497 | |
Bachir Soussi Chiadmi | e79b609294 | |
Bachir Soussi Chiadmi | 0608f7d91c | |
Bachir Soussi Chiadmi | 7d989bad5d | |
Bachir Soussi Chiadmi | 6a09481105 | |
Bachir Soussi Chiadmi | 3467bc3f5f | |
Bachir Soussi Chiadmi | e81913c2e1 | |
Bachir Soussi Chiadmi | 4708f9bfe1 | |
Bachir Soussi Chiadmi | f6611f839b | |
Bachir Soussi Chiadmi | db6dcbf508 | |
Bachir Soussi Chiadmi | 38fd8de8ee |
|
@ -16,6 +16,7 @@
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"composer/installers": "^1.9",
|
"composer/installers": "^1.9",
|
||||||
|
"drupal/address": "^1",
|
||||||
"drupal/admin_toolbar_content": "^1.3",
|
"drupal/admin_toolbar_content": "^1.3",
|
||||||
"drupal/administerusersbyrole": "^3.3",
|
"drupal/administerusersbyrole": "^3.3",
|
||||||
"drupal/amswap": "^3",
|
"drupal/amswap": "^3",
|
||||||
|
@ -39,6 +40,7 @@
|
||||||
"drupal/terms_of_use": "^2.3",
|
"drupal/terms_of_use": "^2.3",
|
||||||
"drupal/typed_data": "1.x-dev@dev",
|
"drupal/typed_data": "1.x-dev@dev",
|
||||||
"drupal/views_ef_fieldset": "^1.5",
|
"drupal/views_ef_fieldset": "^1.5",
|
||||||
|
"drupal/workflow": "^1.7",
|
||||||
"wikimedia/composer-merge-plugin": "^2.0"
|
"wikimedia/composer-merge-plugin": "^2.0"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "1234977008c156a5217d6a92e17aa1df",
|
"content-hash": "f3baae79e847c753ab9ac766f4338529",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "alchemy/zippy",
|
"name": "alchemy/zippy",
|
||||||
|
@ -8986,6 +8986,82 @@
|
||||||
"source": "https://git.drupalcode.org/project/views_ef_fieldset"
|
"source": "https://git.drupalcode.org/project/views_ef_fieldset"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "drupal/workflow",
|
||||||
|
"version": "1.7.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.drupalcode.org/project/workflow.git",
|
||||||
|
"reference": "8.x-1.7"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://ftp.drupal.org/files/projects/workflow-8.x-1.7.zip",
|
||||||
|
"reference": "8.x-1.7",
|
||||||
|
"shasum": "f20b6f0273cd98ae3f6b25ea25b6159fa6345e89"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"drupal/core": "^8.8 || ^9 || ^10"
|
||||||
|
},
|
||||||
|
"type": "drupal-module",
|
||||||
|
"extra": {
|
||||||
|
"drupal": {
|
||||||
|
"version": "8.x-1.7",
|
||||||
|
"datestamp": "1680019726",
|
||||||
|
"security-coverage": {
|
||||||
|
"status": "covered",
|
||||||
|
"message": "Covered by Drupal's security advisory policy"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packages.drupal.org/8/downloads",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0-or-later"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Bastlynn",
|
||||||
|
"homepage": "https://www.drupal.org/user/275249"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "eaton",
|
||||||
|
"homepage": "https://www.drupal.org/user/16496"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Heine",
|
||||||
|
"homepage": "https://www.drupal.org/user/17943"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "JacobSingh",
|
||||||
|
"homepage": "https://www.drupal.org/user/68912"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "johnv",
|
||||||
|
"homepage": "https://www.drupal.org/user/591042"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jvandyk",
|
||||||
|
"homepage": "https://www.drupal.org/user/2375"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mfredrickson",
|
||||||
|
"homepage": "https://www.drupal.org/user/31994"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "NancyDru",
|
||||||
|
"homepage": "https://www.drupal.org/user/101412"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "q0rban",
|
||||||
|
"homepage": "https://www.drupal.org/user/31022"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Defines a field type with Workflows, containing customizable state transitions.",
|
||||||
|
"homepage": "https://www.drupal.org/project/workflow",
|
||||||
|
"support": {
|
||||||
|
"source": "https://git.drupalcode.org/project/workflow"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "drush/drush",
|
"name": "drush/drush",
|
||||||
"version": "10.6.2",
|
"version": "10.6.2",
|
||||||
|
|
|
@ -3,10 +3,12 @@ langcode: fr
|
||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
|
- field.field.group.bourgeon.field_adresse
|
||||||
- field.field.group.bourgeon.field_description
|
- field.field.group.bourgeon.field_description
|
||||||
- field.field.group.bourgeon.field_structure
|
- field.field.group.bourgeon.field_structure
|
||||||
- group.type.bourgeon
|
- group.type.bourgeon
|
||||||
module:
|
module:
|
||||||
|
- address
|
||||||
- autocomplete_deluxe
|
- autocomplete_deluxe
|
||||||
- field_group
|
- field_group
|
||||||
- text
|
- text
|
||||||
|
@ -18,7 +20,7 @@ third_party_settings:
|
||||||
label: Details
|
label: Details
|
||||||
region: content
|
region: content
|
||||||
parent_name: ''
|
parent_name: ''
|
||||||
weight: 3
|
weight: 4
|
||||||
format_type: details_sidebar
|
format_type: details_sidebar
|
||||||
format_settings:
|
format_settings:
|
||||||
classes: ''
|
classes: ''
|
||||||
|
@ -33,9 +35,15 @@ targetEntityType: group
|
||||||
bundle: bourgeon
|
bundle: bourgeon
|
||||||
mode: default
|
mode: default
|
||||||
content:
|
content:
|
||||||
|
field_adresse:
|
||||||
|
type: address_default
|
||||||
|
weight: 2
|
||||||
|
region: content
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
field_description:
|
field_description:
|
||||||
type: text_textarea_with_summary
|
type: text_textarea_with_summary
|
||||||
weight: 2
|
weight: 3
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
rows: 9
|
rows: 9
|
||||||
|
|
|
@ -4,8 +4,10 @@ status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.node.concernement.field_caillou
|
- field.field.node.concernement.field_caillou
|
||||||
|
- field.field.node.concernement.field_confidentialite
|
||||||
- field.field.node.concernement.field_description
|
- field.field.node.concernement.field_description
|
||||||
- field.field.node.concernement.field_entite
|
- field.field.node.concernement.field_entite
|
||||||
|
- field.field.node.concernement.field_lieu
|
||||||
- field.field.node.concernement.field_recit
|
- field.field.node.concernement.field_recit
|
||||||
- node.type.concernement
|
- node.type.concernement
|
||||||
module:
|
module:
|
||||||
|
@ -14,6 +16,7 @@ dependencies:
|
||||||
- file
|
- file
|
||||||
- maxlength
|
- maxlength
|
||||||
- paragraphs
|
- paragraphs
|
||||||
|
- workflow
|
||||||
third_party_settings:
|
third_party_settings:
|
||||||
field_group:
|
field_group:
|
||||||
group_tabs:
|
group_tabs:
|
||||||
|
@ -21,9 +24,8 @@ third_party_settings:
|
||||||
- group_contenu
|
- group_contenu
|
||||||
- group_entites
|
- group_entites
|
||||||
- group_recit
|
- group_recit
|
||||||
- status
|
- group_ateliers
|
||||||
- uid
|
- group_confidentialite
|
||||||
- created
|
|
||||||
label: Tabs
|
label: Tabs
|
||||||
region: content
|
region: content
|
||||||
parent_name: ''
|
parent_name: ''
|
||||||
|
@ -82,6 +84,36 @@ third_party_settings:
|
||||||
formatter: closed
|
formatter: closed
|
||||||
description: ''
|
description: ''
|
||||||
required_fields: true
|
required_fields: true
|
||||||
|
group_ateliers:
|
||||||
|
children:
|
||||||
|
- field_lieu
|
||||||
|
label: Ateliers
|
||||||
|
region: content
|
||||||
|
parent_name: group_tabs
|
||||||
|
weight: 15
|
||||||
|
format_type: tab
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: false
|
||||||
|
id: ''
|
||||||
|
formatter: closed
|
||||||
|
description: ''
|
||||||
|
required_fields: true
|
||||||
|
group_confidentialite:
|
||||||
|
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.concernement.default
|
id: node.concernement.default
|
||||||
targetEntityType: node
|
targetEntityType: node
|
||||||
bundle: concernement
|
bundle: concernement
|
||||||
|
@ -89,7 +121,7 @@ mode: default
|
||||||
content:
|
content:
|
||||||
created:
|
created:
|
||||||
type: datetime_timestamp
|
type: datetime_timestamp
|
||||||
weight: 17
|
weight: 3
|
||||||
region: content
|
region: content
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
@ -101,6 +133,12 @@ content:
|
||||||
rows: 5
|
rows: 5
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
field_confidentialite:
|
||||||
|
type: workflow_default
|
||||||
|
weight: 20
|
||||||
|
region: content
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
field_description:
|
field_description:
|
||||||
type: string_textarea
|
type: string_textarea
|
||||||
weight: 1
|
weight: 1
|
||||||
|
@ -121,6 +159,16 @@ content:
|
||||||
form_display_mode: default
|
form_display_mode: default
|
||||||
default_paragraph_type: ''
|
default_paragraph_type: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
field_lieu:
|
||||||
|
type: entity_reference_autocomplete
|
||||||
|
weight: 26
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
match_limit: 10
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
field_recit:
|
field_recit:
|
||||||
type: file_generic
|
type: file_generic
|
||||||
weight: 3
|
weight: 3
|
||||||
|
@ -130,7 +178,7 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
status:
|
status:
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
weight: 15
|
weight: 1
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
|
@ -150,7 +198,7 @@ content:
|
||||||
show_token_tree: 0
|
show_token_tree: 0
|
||||||
uid:
|
uid:
|
||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
weight: 16
|
weight: 2
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
match_operator: CONTAINS
|
match_operator: CONTAINS
|
||||||
|
|
|
@ -4,14 +4,19 @@ status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.node.entite.field_action
|
- field.field.node.entite.field_action
|
||||||
|
- field.field.node.entite.field_confidentialite
|
||||||
|
- field.field.node.entite.field_entite_agissante
|
||||||
- field.field.node.entite.field_menace_maintien
|
- field.field.node.entite.field_menace_maintien
|
||||||
|
- field.field.node.entite.field_proximite
|
||||||
- field.field.node.entite.field_sources
|
- field.field.node.entite.field_sources
|
||||||
|
- field.field.node.entite.field_superposition
|
||||||
- node.type.entite
|
- node.type.entite
|
||||||
module:
|
module:
|
||||||
- advanced_text_formatter
|
- advanced_text_formatter
|
||||||
- field_group
|
- field_group
|
||||||
- maxlength
|
- maxlength
|
||||||
- paragraphs
|
- paragraphs
|
||||||
|
- workflow
|
||||||
third_party_settings:
|
third_party_settings:
|
||||||
field_group:
|
field_group:
|
||||||
group_details:
|
group_details:
|
||||||
|
@ -22,7 +27,7 @@ third_party_settings:
|
||||||
label: Details
|
label: Details
|
||||||
region: content
|
region: content
|
||||||
parent_name: ''
|
parent_name: ''
|
||||||
weight: 4
|
weight: 1
|
||||||
format_type: details_sidebar
|
format_type: details_sidebar
|
||||||
format_settings:
|
format_settings:
|
||||||
classes: ''
|
classes: ''
|
||||||
|
@ -32,6 +37,87 @@ third_party_settings:
|
||||||
description: ''
|
description: ''
|
||||||
required_fields: true
|
required_fields: true
|
||||||
weight: -100
|
weight: -100
|
||||||
|
group_tabs:
|
||||||
|
children:
|
||||||
|
- group_contenu
|
||||||
|
- group_superpositions
|
||||||
|
- group_proximites
|
||||||
|
- group_con
|
||||||
|
label: Tabs
|
||||||
|
region: content
|
||||||
|
parent_name: ''
|
||||||
|
weight: 0
|
||||||
|
format_type: tabs
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: false
|
||||||
|
id: ''
|
||||||
|
direction: horizontal
|
||||||
|
width_breakpoint: 640
|
||||||
|
group_contenu:
|
||||||
|
children:
|
||||||
|
- title
|
||||||
|
- field_entite_agissante
|
||||||
|
- field_action
|
||||||
|
- field_menace_maintien
|
||||||
|
- field_sources
|
||||||
|
label: Contenu
|
||||||
|
region: content
|
||||||
|
parent_name: group_tabs
|
||||||
|
weight: 13
|
||||||
|
format_type: tab
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: false
|
||||||
|
id: ''
|
||||||
|
formatter: open
|
||||||
|
description: ''
|
||||||
|
required_fields: true
|
||||||
|
group_proximites:
|
||||||
|
children:
|
||||||
|
- field_proximite
|
||||||
|
label: Proximités
|
||||||
|
region: content
|
||||||
|
parent_name: group_tabs
|
||||||
|
weight: 15
|
||||||
|
format_type: tab
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: false
|
||||||
|
id: ''
|
||||||
|
formatter: closed
|
||||||
|
description: ''
|
||||||
|
required_fields: true
|
||||||
|
group_superpositions:
|
||||||
|
children:
|
||||||
|
- field_superposition
|
||||||
|
label: Superpositions
|
||||||
|
region: content
|
||||||
|
parent_name: group_tabs
|
||||||
|
weight: 14
|
||||||
|
format_type: tab
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: false
|
||||||
|
id: ''
|
||||||
|
formatter: closed
|
||||||
|
description: ''
|
||||||
|
required_fields: true
|
||||||
|
group_con:
|
||||||
|
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.entite.default
|
id: node.entite.default
|
||||||
targetEntityType: node
|
targetEntityType: node
|
||||||
bundle: entite
|
bundle: entite
|
||||||
|
@ -44,20 +130,6 @@ content:
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
field_action:
|
field_action:
|
||||||
type: string_textarea
|
|
||||||
weight: 1
|
|
||||||
region: content
|
|
||||||
settings:
|
|
||||||
rows: 8
|
|
||||||
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
|
|
||||||
field_menace_maintien:
|
|
||||||
type: string_textarea
|
type: string_textarea
|
||||||
weight: 2
|
weight: 2
|
||||||
region: content
|
region: content
|
||||||
|
@ -71,9 +143,46 @@ content:
|
||||||
maxlength_js_enforce: false
|
maxlength_js_enforce: false
|
||||||
advanced_text_formatter:
|
advanced_text_formatter:
|
||||||
show_token_tree: 0
|
show_token_tree: 0
|
||||||
|
field_confidentialite:
|
||||||
|
type: workflow_default
|
||||||
|
weight: 32
|
||||||
|
region: content
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
field_entite_agissante:
|
||||||
|
type: boolean_checkbox
|
||||||
|
weight: 1
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
display_label: true
|
||||||
|
third_party_settings: { }
|
||||||
|
field_menace_maintien:
|
||||||
|
type: string_textarea
|
||||||
|
weight: 3
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
rows: 8
|
||||||
|
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
|
||||||
|
field_proximite:
|
||||||
|
type: entity_reference_autocomplete
|
||||||
|
weight: 5
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
match_limit: 10
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
field_sources:
|
field_sources:
|
||||||
type: paragraphs
|
type: paragraphs
|
||||||
weight: 3
|
weight: 4
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
title: Paragraphe
|
title: Paragraphe
|
||||||
|
@ -89,6 +198,16 @@ content:
|
||||||
collapse_edit_all: collapse_edit_all
|
collapse_edit_all: collapse_edit_all
|
||||||
duplicate: duplicate
|
duplicate: duplicate
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
field_superposition:
|
||||||
|
type: entity_reference_autocomplete
|
||||||
|
weight: 6
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
match_limit: 10
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
status:
|
status:
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
weight: 31
|
weight: 31
|
||||||
|
|
|
@ -45,6 +45,7 @@ content:
|
||||||
collapsible: false
|
collapsible: false
|
||||||
collapsed: false
|
collapsed: false
|
||||||
revision: false
|
revision: false
|
||||||
|
removed_reference: optional
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
field_menace_maintien_degres:
|
field_menace_maintien_degres:
|
||||||
type: number
|
type: number
|
||||||
|
|
|
@ -13,13 +13,12 @@ dependencies:
|
||||||
- image.style.thumbnail
|
- image.style.thumbnail
|
||||||
- paragraphs.paragraphs_type.source
|
- paragraphs.paragraphs_type.source
|
||||||
module:
|
module:
|
||||||
- advanced_text_formatter
|
|
||||||
- datetime
|
- datetime
|
||||||
- field_group
|
- field_group
|
||||||
- file
|
- file
|
||||||
- image
|
- image
|
||||||
- link
|
- link
|
||||||
- maxlength
|
- text
|
||||||
- video_embed_field
|
- video_embed_field
|
||||||
third_party_settings:
|
third_party_settings:
|
||||||
field_group:
|
field_group:
|
||||||
|
@ -46,7 +45,7 @@ third_party_settings:
|
||||||
label: 'Experience vécue'
|
label: 'Experience vécue'
|
||||||
region: hidden
|
region: hidden
|
||||||
parent_name: ''
|
parent_name: ''
|
||||||
weight: 3
|
weight: 5
|
||||||
format_type: tab
|
format_type: tab
|
||||||
format_settings:
|
format_settings:
|
||||||
classes: ''
|
classes: ''
|
||||||
|
@ -163,19 +162,13 @@ content:
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
field_description:
|
field_description:
|
||||||
type: string_textarea
|
type: text_textarea
|
||||||
weight: 1
|
weight: 1
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
rows: 8
|
rows: 5
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
third_party_settings:
|
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
|
|
||||||
field_documents:
|
field_documents:
|
||||||
type: file_generic
|
type: file_generic
|
||||||
weight: 27
|
weight: 27
|
||||||
|
|
|
@ -0,0 +1,47 @@
|
||||||
|
uuid: 807a1faf-6af6-497f-bef6-79a226dead1c
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.taxonomy_term.lieu.field_adresse
|
||||||
|
- taxonomy.vocabulary.lieu
|
||||||
|
module:
|
||||||
|
- address
|
||||||
|
- text
|
||||||
|
id: taxonomy_term.lieu.default
|
||||||
|
targetEntityType: taxonomy_term
|
||||||
|
bundle: lieu
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
description:
|
||||||
|
type: text_textarea
|
||||||
|
weight: 2
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
rows: 5
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
field_adresse:
|
||||||
|
type: address_default
|
||||||
|
weight: 1
|
||||||
|
region: content
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
name:
|
||||||
|
type: string_textfield
|
||||||
|
weight: 0
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
status:
|
||||||
|
type: boolean_checkbox
|
||||||
|
weight: 3
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
display_label: true
|
||||||
|
third_party_settings: { }
|
||||||
|
hidden:
|
||||||
|
langcode: true
|
||||||
|
path: true
|
|
@ -5,7 +5,6 @@ dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.user.user.field_strucure
|
- field.field.user.user.field_strucure
|
||||||
module:
|
module:
|
||||||
- autocomplete_deluxe
|
|
||||||
- user
|
- user
|
||||||
id: user.user.default
|
id: user.user.default
|
||||||
targetEntityType: user
|
targetEntityType: user
|
||||||
|
@ -18,21 +17,20 @@ content:
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
field_strucure:
|
field_strucure:
|
||||||
type: autocomplete_deluxe
|
type: options_select
|
||||||
weight: 2
|
weight: 2
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings: { }
|
||||||
match_operator: CONTAINS
|
third_party_settings: { }
|
||||||
autocomplete_route_name: autocomplete_deluxe.autocomplete
|
regcode:
|
||||||
size: 60
|
weight: 10
|
||||||
selection_handler: default
|
region: content
|
||||||
limit: 10
|
settings: { }
|
||||||
min_length: 0
|
third_party_settings: { }
|
||||||
delimiter: ''
|
terms_of_use:
|
||||||
not_found_message_allow: true
|
weight: 10
|
||||||
not_found_message: 'The term ''@term'' will be added'
|
region: content
|
||||||
new_terms: true
|
settings: { }
|
||||||
no_empty_message: 'No terms could be found. Please type in order to add a new term.'
|
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
hidden:
|
hidden:
|
||||||
contact: true
|
contact: true
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
uuid: 6a886e53-6d3a-459f-9a63-960832b9ba1c
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.workflow.confidentialite
|
||||||
|
id: workflow_transition.confidentialite.default
|
||||||
|
targetEntityType: workflow_transition
|
||||||
|
bundle: confidentialite
|
||||||
|
mode: default
|
||||||
|
content: { }
|
||||||
|
hidden:
|
||||||
|
langcode: true
|
|
@ -3,16 +3,25 @@ langcode: fr
|
||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
|
- field.field.group.bourgeon.field_adresse
|
||||||
- field.field.group.bourgeon.field_description
|
- field.field.group.bourgeon.field_description
|
||||||
- field.field.group.bourgeon.field_structure
|
- field.field.group.bourgeon.field_structure
|
||||||
- group.type.bourgeon
|
- group.type.bourgeon
|
||||||
module:
|
module:
|
||||||
|
- address
|
||||||
- text
|
- text
|
||||||
id: group.bourgeon.default
|
id: group.bourgeon.default
|
||||||
targetEntityType: group
|
targetEntityType: group
|
||||||
bundle: bourgeon
|
bundle: bourgeon
|
||||||
mode: default
|
mode: default
|
||||||
content:
|
content:
|
||||||
|
field_adresse:
|
||||||
|
type: address_default
|
||||||
|
label: above
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: -2
|
||||||
|
region: content
|
||||||
field_description:
|
field_description:
|
||||||
type: text_default
|
type: text_default
|
||||||
label: above
|
label: above
|
||||||
|
|
|
@ -4,13 +4,16 @@ status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.node.concernement.field_caillou
|
- field.field.node.concernement.field_caillou
|
||||||
|
- field.field.node.concernement.field_confidentialite
|
||||||
- field.field.node.concernement.field_description
|
- field.field.node.concernement.field_description
|
||||||
- field.field.node.concernement.field_entite
|
- field.field.node.concernement.field_entite
|
||||||
|
- field.field.node.concernement.field_lieu
|
||||||
- field.field.node.concernement.field_recit
|
- field.field.node.concernement.field_recit
|
||||||
- node.type.concernement
|
- node.type.concernement
|
||||||
module:
|
module:
|
||||||
- entity_reference_revisions
|
- entity_reference_revisions
|
||||||
- file
|
- file
|
||||||
|
- options
|
||||||
- user
|
- user
|
||||||
id: node.concernement.default
|
id: node.concernement.default
|
||||||
targetEntityType: node
|
targetEntityType: node
|
||||||
|
@ -24,12 +27,19 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 105
|
weight: 105
|
||||||
region: content
|
region: content
|
||||||
|
field_confidentialite:
|
||||||
|
type: list_default
|
||||||
|
label: above
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 108
|
||||||
|
region: content
|
||||||
field_description:
|
field_description:
|
||||||
type: basic_string
|
type: basic_string
|
||||||
label: above
|
label: above
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 104
|
weight: 107
|
||||||
region: content
|
region: content
|
||||||
field_entite:
|
field_entite:
|
||||||
type: entity_reference_revisions_entity_view
|
type: entity_reference_revisions_entity_view
|
||||||
|
@ -40,6 +50,14 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 102
|
weight: 102
|
||||||
region: content
|
region: content
|
||||||
|
field_lieu:
|
||||||
|
type: entity_reference_label
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 106
|
||||||
|
region: content
|
||||||
field_recit:
|
field_recit:
|
||||||
type: file_default
|
type: file_default
|
||||||
label: above
|
label: above
|
||||||
|
|
|
@ -5,8 +5,10 @@ dependencies:
|
||||||
config:
|
config:
|
||||||
- core.entity_view_mode.node.teaser
|
- core.entity_view_mode.node.teaser
|
||||||
- field.field.node.concernement.field_caillou
|
- field.field.node.concernement.field_caillou
|
||||||
|
- field.field.node.concernement.field_confidentialite
|
||||||
- field.field.node.concernement.field_description
|
- field.field.node.concernement.field_description
|
||||||
- field.field.node.concernement.field_entite
|
- field.field.node.concernement.field_entite
|
||||||
|
- field.field.node.concernement.field_lieu
|
||||||
- field.field.node.concernement.field_recit
|
- field.field.node.concernement.field_recit
|
||||||
- node.type.concernement
|
- node.type.concernement
|
||||||
module:
|
module:
|
||||||
|
@ -23,8 +25,10 @@ content:
|
||||||
region: content
|
region: content
|
||||||
hidden:
|
hidden:
|
||||||
field_caillou: true
|
field_caillou: true
|
||||||
|
field_confidentialite: true
|
||||||
field_description: true
|
field_description: true
|
||||||
field_entite: true
|
field_entite: true
|
||||||
|
field_lieu: true
|
||||||
field_recit: true
|
field_recit: true
|
||||||
langcode: true
|
langcode: true
|
||||||
search_api_excerpt: true
|
search_api_excerpt: true
|
||||||
|
|
|
@ -4,11 +4,16 @@ status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.node.entite.field_action
|
- field.field.node.entite.field_action
|
||||||
|
- field.field.node.entite.field_confidentialite
|
||||||
|
- field.field.node.entite.field_entite_agissante
|
||||||
- field.field.node.entite.field_menace_maintien
|
- field.field.node.entite.field_menace_maintien
|
||||||
|
- field.field.node.entite.field_proximite
|
||||||
- field.field.node.entite.field_sources
|
- field.field.node.entite.field_sources
|
||||||
|
- field.field.node.entite.field_superposition
|
||||||
- node.type.entite
|
- node.type.entite
|
||||||
module:
|
module:
|
||||||
- entity_reference_revisions
|
- entity_reference_revisions
|
||||||
|
- options
|
||||||
- user
|
- user
|
||||||
id: node.entite.default
|
id: node.entite.default
|
||||||
targetEntityType: node
|
targetEntityType: node
|
||||||
|
@ -22,6 +27,23 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 101
|
weight: 101
|
||||||
region: content
|
region: content
|
||||||
|
field_confidentialite:
|
||||||
|
type: list_default
|
||||||
|
label: above
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 107
|
||||||
|
region: content
|
||||||
|
field_entite_agissante:
|
||||||
|
type: boolean
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
format: default
|
||||||
|
format_custom_false: ''
|
||||||
|
format_custom_true: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 106
|
||||||
|
region: content
|
||||||
field_menace_maintien:
|
field_menace_maintien:
|
||||||
type: basic_string
|
type: basic_string
|
||||||
label: above
|
label: above
|
||||||
|
@ -29,6 +51,14 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 102
|
weight: 102
|
||||||
region: content
|
region: content
|
||||||
|
field_proximite:
|
||||||
|
type: entity_reference_label
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 104
|
||||||
|
region: content
|
||||||
field_sources:
|
field_sources:
|
||||||
type: entity_reference_revisions_entity_view
|
type: entity_reference_revisions_entity_view
|
||||||
label: above
|
label: above
|
||||||
|
@ -38,6 +68,14 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 103
|
weight: 103
|
||||||
region: content
|
region: content
|
||||||
|
field_superposition:
|
||||||
|
type: entity_reference_label
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 105
|
||||||
|
region: content
|
||||||
links:
|
links:
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
|
|
@ -5,8 +5,12 @@ dependencies:
|
||||||
config:
|
config:
|
||||||
- core.entity_view_mode.node.teaser
|
- core.entity_view_mode.node.teaser
|
||||||
- field.field.node.entite.field_action
|
- field.field.node.entite.field_action
|
||||||
|
- field.field.node.entite.field_confidentialite
|
||||||
|
- field.field.node.entite.field_entite_agissante
|
||||||
- field.field.node.entite.field_menace_maintien
|
- field.field.node.entite.field_menace_maintien
|
||||||
|
- field.field.node.entite.field_proximite
|
||||||
- field.field.node.entite.field_sources
|
- field.field.node.entite.field_sources
|
||||||
|
- field.field.node.entite.field_superposition
|
||||||
- node.type.entite
|
- node.type.entite
|
||||||
module:
|
module:
|
||||||
- user
|
- user
|
||||||
|
@ -22,7 +26,11 @@ content:
|
||||||
region: content
|
region: content
|
||||||
hidden:
|
hidden:
|
||||||
field_action: true
|
field_action: true
|
||||||
|
field_confidentialite: true
|
||||||
|
field_entite_agissante: true
|
||||||
field_menace_maintien: true
|
field_menace_maintien: true
|
||||||
|
field_proximite: true
|
||||||
field_sources: true
|
field_sources: true
|
||||||
|
field_superposition: true
|
||||||
langcode: true
|
langcode: true
|
||||||
search_api_excerpt: true
|
search_api_excerpt: true
|
||||||
|
|
|
@ -16,6 +16,7 @@ dependencies:
|
||||||
- file
|
- file
|
||||||
- image
|
- image
|
||||||
- link
|
- link
|
||||||
|
- text
|
||||||
- video_embed_field
|
- video_embed_field
|
||||||
id: paragraph.source.default
|
id: paragraph.source.default
|
||||||
targetEntityType: paragraph
|
targetEntityType: paragraph
|
||||||
|
@ -40,7 +41,7 @@ content:
|
||||||
weight: 6
|
weight: 6
|
||||||
region: content
|
region: content
|
||||||
field_description:
|
field_description:
|
||||||
type: basic_string
|
type: text_default
|
||||||
label: above
|
label: above
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
uuid: 04164f73-d0f4-4f8d-8fae-d0c13e0d917b
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.taxonomy_term.lieu.field_adresse
|
||||||
|
- taxonomy.vocabulary.lieu
|
||||||
|
module:
|
||||||
|
- address
|
||||||
|
- text
|
||||||
|
id: taxonomy_term.lieu.default
|
||||||
|
targetEntityType: taxonomy_term
|
||||||
|
bundle: lieu
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
description:
|
||||||
|
type: text_default
|
||||||
|
label: hidden
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 0
|
||||||
|
region: content
|
||||||
|
field_adresse:
|
||||||
|
type: address_default
|
||||||
|
label: above
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 1
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
langcode: true
|
||||||
|
search_api_excerpt: true
|
|
@ -3,6 +3,7 @@ _core:
|
||||||
langcode: fr
|
langcode: fr
|
||||||
module:
|
module:
|
||||||
actions_permissions: 0
|
actions_permissions: 0
|
||||||
|
address: 0
|
||||||
admin_menus: 0
|
admin_menus: 0
|
||||||
admin_toolbar: 0
|
admin_toolbar: 0
|
||||||
admin_toolbar_content: 0
|
admin_toolbar_content: 0
|
||||||
|
@ -130,6 +131,9 @@ module:
|
||||||
views_bulk_operations: 0
|
views_bulk_operations: 0
|
||||||
views_ef_fieldset: 0
|
views_ef_fieldset: 0
|
||||||
views_ui: 0
|
views_ui: 0
|
||||||
|
workflow: 0
|
||||||
|
workflow_access: 0
|
||||||
|
workflow_ui: 0
|
||||||
extlink: 1
|
extlink: 1
|
||||||
filefield_sources: 1
|
filefield_sources: 1
|
||||||
menu_admin_per_menu: 1
|
menu_admin_per_menu: 1
|
||||||
|
|
|
@ -14,3 +14,9 @@ definitions:
|
||||||
parent: admin_menus.contents
|
parent: admin_menus.contents
|
||||||
expanded: false
|
expanded: false
|
||||||
weight: 0
|
weight: 0
|
||||||
|
admin_menus__contents:
|
||||||
|
weight: -50
|
||||||
|
menu_name: administrator
|
||||||
|
parent: ''
|
||||||
|
enabled: true
|
||||||
|
expanded: false
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
uuid: 0b0d34c1-79eb-4ca6-807f-836f2851ecfb
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- filter.format.linkonly
|
||||||
|
module:
|
||||||
|
- ckeditor
|
||||||
|
format: linkonly
|
||||||
|
editor: ckeditor
|
||||||
|
settings:
|
||||||
|
toolbar:
|
||||||
|
rows:
|
||||||
|
-
|
||||||
|
-
|
||||||
|
name: Liens
|
||||||
|
items:
|
||||||
|
- DrupalLink
|
||||||
|
- DrupalUnlink
|
||||||
|
plugins:
|
||||||
|
drupallink:
|
||||||
|
linkit_enabled: false
|
||||||
|
linkit_profile: ''
|
||||||
|
image_upload:
|
||||||
|
status: false
|
||||||
|
scheme: public
|
||||||
|
directory: inline-images
|
||||||
|
max_size: ''
|
||||||
|
max_dimensions:
|
||||||
|
width: null
|
||||||
|
height: null
|
|
@ -0,0 +1,59 @@
|
||||||
|
uuid: 6232bf1a-c0f6-4d8c-9909-14d5f7c71b8b
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.group.field_adresse
|
||||||
|
- group.type.bourgeon
|
||||||
|
module:
|
||||||
|
- address
|
||||||
|
id: group.bourgeon.field_adresse
|
||||||
|
field_name: field_adresse
|
||||||
|
entity_type: group
|
||||||
|
bundle: bourgeon
|
||||||
|
label: Adresse
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value:
|
||||||
|
-
|
||||||
|
langcode: null
|
||||||
|
country_code: FR
|
||||||
|
administrative_area: null
|
||||||
|
locality: ''
|
||||||
|
dependent_locality: null
|
||||||
|
postal_code: ''
|
||||||
|
sorting_code: ''
|
||||||
|
address_line1: ''
|
||||||
|
address_line2: ''
|
||||||
|
organization: ''
|
||||||
|
given_name: ''
|
||||||
|
additional_name: null
|
||||||
|
family_name: ''
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
available_countries: { }
|
||||||
|
langcode_override: ''
|
||||||
|
field_overrides:
|
||||||
|
givenName:
|
||||||
|
override: hidden
|
||||||
|
additionalName:
|
||||||
|
override: hidden
|
||||||
|
familyName:
|
||||||
|
override: hidden
|
||||||
|
organization:
|
||||||
|
override: hidden
|
||||||
|
addressLine1:
|
||||||
|
override: hidden
|
||||||
|
addressLine2:
|
||||||
|
override: hidden
|
||||||
|
postalCode:
|
||||||
|
override: hidden
|
||||||
|
sortingCode:
|
||||||
|
override: hidden
|
||||||
|
dependentLocality:
|
||||||
|
override: hidden
|
||||||
|
administrativeArea:
|
||||||
|
override: hidden
|
||||||
|
fields: { }
|
||||||
|
field_type: address
|
|
@ -0,0 +1,22 @@
|
||||||
|
uuid: e209c60c-6f97-44dc-b94a-ad5abcc6e51d
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_confidentialite
|
||||||
|
- node.type.concernement
|
||||||
|
module:
|
||||||
|
- workflow
|
||||||
|
id: node.concernement.field_confidentialite
|
||||||
|
field_name: field_confidentialite
|
||||||
|
entity_type: node
|
||||||
|
bundle: concernement
|
||||||
|
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: false
|
||||||
|
default_value:
|
||||||
|
- { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: workflow
|
|
@ -1,4 +1,4 @@
|
||||||
uuid: 535ce9fa-7e1c-42b2-8b1a-10dc104e9603
|
uuid: 593f484f-0de7-49cb-9c09-d5c4c43c3235
|
||||||
langcode: fr
|
langcode: fr
|
||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
uuid: c642bfab-8c1b-4ca0-ad9a-f2bf9a6bdd14
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_lieu
|
||||||
|
- node.type.concernement
|
||||||
|
- taxonomy.vocabulary.lieu
|
||||||
|
id: node.concernement.field_lieu
|
||||||
|
field_name: field_lieu
|
||||||
|
entity_type: node
|
||||||
|
bundle: concernement
|
||||||
|
label: Lieu
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:taxonomy_term'
|
||||||
|
handler_settings:
|
||||||
|
target_bundles:
|
||||||
|
lieu: lieu
|
||||||
|
sort:
|
||||||
|
field: name
|
||||||
|
direction: asc
|
||||||
|
auto_create: false
|
||||||
|
auto_create_bundle: ''
|
||||||
|
field_type: entity_reference
|
|
@ -0,0 +1,22 @@
|
||||||
|
uuid: 6d797246-2a70-4a37-8990-5816e5976cc2
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_confidentialite
|
||||||
|
- node.type.entite
|
||||||
|
module:
|
||||||
|
- workflow
|
||||||
|
id: node.entite.field_confidentialite
|
||||||
|
field_name: field_confidentialite
|
||||||
|
entity_type: node
|
||||||
|
bundle: entite
|
||||||
|
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
|
|
@ -0,0 +1,23 @@
|
||||||
|
uuid: 40172a2e-56e3-40d1-92c1-8d0c911ee810
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_entite_agissante
|
||||||
|
- node.type.entite
|
||||||
|
id: node.entite.field_entite_agissante
|
||||||
|
field_name: field_entite_agissante
|
||||||
|
entity_type: node
|
||||||
|
bundle: entite
|
||||||
|
label: 'Entite action'
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value:
|
||||||
|
-
|
||||||
|
value: 0
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
on_label: Activé
|
||||||
|
off_label: Désactivé
|
||||||
|
field_type: boolean
|
|
@ -0,0 +1,28 @@
|
||||||
|
uuid: 450ee658-81f3-418c-a443-7422c174b8b3
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_proximite
|
||||||
|
- node.type.entite
|
||||||
|
id: node.entite.field_proximite
|
||||||
|
field_name: field_proximite
|
||||||
|
entity_type: node
|
||||||
|
bundle: entite
|
||||||
|
label: Proximité
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:node'
|
||||||
|
handler_settings:
|
||||||
|
target_bundles:
|
||||||
|
entite: entite
|
||||||
|
sort:
|
||||||
|
field: _none
|
||||||
|
direction: ASC
|
||||||
|
auto_create: false
|
||||||
|
auto_create_bundle: ''
|
||||||
|
field_type: entity_reference
|
|
@ -0,0 +1,28 @@
|
||||||
|
uuid: f3d5d8f1-f419-485e-bd13-261b26d7bbb0
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_superposition
|
||||||
|
- node.type.entite
|
||||||
|
id: node.entite.field_superposition
|
||||||
|
field_name: field_superposition
|
||||||
|
entity_type: node
|
||||||
|
bundle: entite
|
||||||
|
label: Superposition
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:node'
|
||||||
|
handler_settings:
|
||||||
|
target_bundles:
|
||||||
|
entite: entite
|
||||||
|
sort:
|
||||||
|
field: _none
|
||||||
|
direction: ASC
|
||||||
|
auto_create: false
|
||||||
|
auto_create_bundle: ''
|
||||||
|
field_type: entity_reference
|
|
@ -21,7 +21,7 @@ settings:
|
||||||
handler: 'default:file'
|
handler: 'default:file'
|
||||||
handler_settings: { }
|
handler_settings: { }
|
||||||
file_directory: '[date:custom:Y]-[date:custom:m]'
|
file_directory: '[date:custom:Y]-[date:custom:m]'
|
||||||
file_extensions: ogg
|
file_extensions: 'ogg mp3 flac'
|
||||||
max_filesize: ''
|
max_filesize: ''
|
||||||
description_field: true
|
description_field: true
|
||||||
field_type: file
|
field_type: file
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
uuid: d2ee1d58-0296-4f56-961f-6dac57ceb173
|
uuid: 16ebf1f1-c233-4449-94f1-5eb28eb7712c
|
||||||
langcode: fr
|
langcode: fr
|
||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.storage.paragraph.field_description
|
- field.storage.paragraph.field_description
|
||||||
- paragraphs.paragraphs_type.source
|
- paragraphs.paragraphs_type.source
|
||||||
|
module:
|
||||||
|
- text
|
||||||
id: paragraph.source.field_description
|
id: paragraph.source.field_description
|
||||||
field_name: field_description
|
field_name: field_description
|
||||||
entity_type: paragraph
|
entity_type: paragraph
|
||||||
|
@ -16,4 +18,4 @@ translatable: false
|
||||||
default_value: { }
|
default_value: { }
|
||||||
default_value_callback: ''
|
default_value_callback: ''
|
||||||
settings: { }
|
settings: { }
|
||||||
field_type: string_long
|
field_type: text_long
|
||||||
|
|
|
@ -0,0 +1,47 @@
|
||||||
|
uuid: 39fee0a0-22fc-46b2-80da-bc9cd16b740e
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.taxonomy_term.field_adresse
|
||||||
|
- taxonomy.vocabulary.lieu
|
||||||
|
module:
|
||||||
|
- address
|
||||||
|
id: taxonomy_term.lieu.field_adresse
|
||||||
|
field_name: field_adresse
|
||||||
|
entity_type: taxonomy_term
|
||||||
|
bundle: lieu
|
||||||
|
label: Adresse
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value:
|
||||||
|
-
|
||||||
|
langcode: null
|
||||||
|
country_code: FR
|
||||||
|
administrative_area: null
|
||||||
|
locality: ''
|
||||||
|
dependent_locality: null
|
||||||
|
postal_code: ''
|
||||||
|
sorting_code: ''
|
||||||
|
address_line1: ''
|
||||||
|
address_line2: ''
|
||||||
|
organization: ''
|
||||||
|
given_name: ''
|
||||||
|
additional_name: null
|
||||||
|
family_name: ''
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
available_countries: { }
|
||||||
|
langcode_override: ''
|
||||||
|
field_overrides:
|
||||||
|
givenName:
|
||||||
|
override: hidden
|
||||||
|
additionalName:
|
||||||
|
override: hidden
|
||||||
|
organization:
|
||||||
|
override: hidden
|
||||||
|
sortingCode:
|
||||||
|
override: hidden
|
||||||
|
fields: { }
|
||||||
|
field_type: address
|
|
@ -0,0 +1,19 @@
|
||||||
|
uuid: 253f8550-81f6-4faa-ad5b-386208fe56f8
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- address
|
||||||
|
- group
|
||||||
|
id: group.field_adresse
|
||||||
|
field_name: field_adresse
|
||||||
|
entity_type: group
|
||||||
|
type: address
|
||||||
|
settings: { }
|
||||||
|
module: address
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
|
@ -0,0 +1,22 @@
|
||||||
|
uuid: 2e0f2c83-243c-47d2-9117-4a2b1734c295
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
- workflow
|
||||||
|
id: node.field_confidentialite
|
||||||
|
field_name: field_confidentialite
|
||||||
|
entity_type: node
|
||||||
|
type: workflow
|
||||||
|
settings:
|
||||||
|
workflow_type: confidentialite
|
||||||
|
allowed_values: { }
|
||||||
|
allowed_values_function: ''
|
||||||
|
module: workflow
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
|
@ -1,4 +1,4 @@
|
||||||
uuid: aab0fc38-c9cb-4314-bebc-37c15abbacb3
|
uuid: 5acf7705-4d04-4287-ab75-c206e9e243ec
|
||||||
langcode: fr
|
langcode: fr
|
||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
uuid: c1282e42-a56d-4e45-84fc-b600d93904e1
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
id: node.field_entite_agissante
|
||||||
|
field_name: field_entite_agissante
|
||||||
|
entity_type: node
|
||||||
|
type: boolean
|
||||||
|
settings: { }
|
||||||
|
module: core
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
|
@ -0,0 +1,20 @@
|
||||||
|
uuid: 2aa80a26-ca7d-4067-80c1-fe14d7c5dc88
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
- taxonomy
|
||||||
|
id: node.field_lieu
|
||||||
|
field_name: field_lieu
|
||||||
|
entity_type: node
|
||||||
|
type: entity_reference
|
||||||
|
settings:
|
||||||
|
target_type: taxonomy_term
|
||||||
|
module: core
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
|
@ -0,0 +1,19 @@
|
||||||
|
uuid: af04b192-2da8-4d00-8728-d04db546eb07
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
id: node.field_proximite
|
||||||
|
field_name: field_proximite
|
||||||
|
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
|
|
@ -0,0 +1,19 @@
|
||||||
|
uuid: ebbf362e-80ee-4f54-8a2f-c9a442e80305
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
id: node.field_superposition
|
||||||
|
field_name: field_superposition
|
||||||
|
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
|
|
@ -1,16 +1,16 @@
|
||||||
uuid: 477f32ee-3fe7-4b49-8667-630569af1da7
|
uuid: 0905aa46-1120-4d3d-89e4-156d97c90e58
|
||||||
langcode: fr
|
langcode: fr
|
||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
module:
|
module:
|
||||||
- paragraphs
|
- paragraphs
|
||||||
|
- text
|
||||||
id: paragraph.field_description
|
id: paragraph.field_description
|
||||||
field_name: field_description
|
field_name: field_description
|
||||||
entity_type: paragraph
|
entity_type: paragraph
|
||||||
type: string_long
|
type: text_long
|
||||||
settings:
|
settings: { }
|
||||||
case_sensitive: false
|
module: text
|
||||||
module: core
|
|
||||||
locked: false
|
locked: false
|
||||||
cardinality: 1
|
cardinality: 1
|
||||||
translatable: true
|
translatable: true
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
uuid: d1f1c929-2a8d-4c0d-9b12-d4ac85b755e6
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- address
|
||||||
|
- taxonomy
|
||||||
|
id: taxonomy_term.field_adresse
|
||||||
|
field_name: field_adresse
|
||||||
|
entity_type: taxonomy_term
|
||||||
|
type: address
|
||||||
|
settings: { }
|
||||||
|
module: address
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
|
@ -0,0 +1,49 @@
|
||||||
|
uuid: ac2880cb-1e0f-42db-a209-2df6dedcdac0
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- linkit
|
||||||
|
- url_to_video_filter
|
||||||
|
name: linkonly
|
||||||
|
format: linkonly
|
||||||
|
weight: 0
|
||||||
|
filters:
|
||||||
|
filter_htmlcorrector:
|
||||||
|
id: filter_htmlcorrector
|
||||||
|
provider: filter
|
||||||
|
status: true
|
||||||
|
weight: 10
|
||||||
|
settings: { }
|
||||||
|
filter_autop:
|
||||||
|
id: filter_autop
|
||||||
|
provider: filter
|
||||||
|
status: true
|
||||||
|
weight: 0
|
||||||
|
settings: { }
|
||||||
|
filter_html:
|
||||||
|
id: filter_html
|
||||||
|
provider: filter
|
||||||
|
status: false
|
||||||
|
weight: -10
|
||||||
|
settings:
|
||||||
|
allowed_html: '<em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <a href hreflang data-entity-substitution data-entity-type data-entity-uuid title>'
|
||||||
|
filter_html_help: true
|
||||||
|
filter_html_nofollow: false
|
||||||
|
linkit:
|
||||||
|
id: linkit
|
||||||
|
provider: linkit
|
||||||
|
status: true
|
||||||
|
weight: 0
|
||||||
|
settings:
|
||||||
|
title: true
|
||||||
|
filter_url_to_video:
|
||||||
|
id: filter_url_to_video
|
||||||
|
provider: url_to_video_filter
|
||||||
|
status: false
|
||||||
|
weight: 0
|
||||||
|
settings:
|
||||||
|
youtube: '1'
|
||||||
|
youtube_webp_preview: '0'
|
||||||
|
vimeo: '1'
|
||||||
|
autoload: '0'
|
|
@ -0,0 +1,11 @@
|
||||||
|
uuid: 82d8efe1-e6d2-42f3-9cbf-b5f2f2dcaf41
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- taxonomy.vocabulary.lieu
|
||||||
|
id: taxonomy_term.lieu
|
||||||
|
target_entity_type_id: taxonomy_term
|
||||||
|
target_bundle: lieu
|
||||||
|
default_langcode: site_default
|
||||||
|
language_alterable: false
|
|
@ -10,7 +10,7 @@ third_party_settings:
|
||||||
parent: ''
|
parent: ''
|
||||||
_core:
|
_core:
|
||||||
default_config_hash: Gbpk2gnakDOKmsOEikWuVfLDOZ8rtrlW-UoZFjqWCF0
|
default_config_hash: Gbpk2gnakDOKmsOEikWuVfLDOZ8rtrlW-UoZFjqWCF0
|
||||||
name: Static
|
name: Statique
|
||||||
type: static
|
type: static
|
||||||
description: 'Static Page'
|
description: 'Static Page'
|
||||||
help: ''
|
help: ''
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
uuid: 6443c8bb-9c0d-4884-996a-04ef0200f020
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
- serialization
|
||||||
|
- user
|
||||||
|
id: entity.node_type
|
||||||
|
plugin_id: 'entity:node_type'
|
||||||
|
granularity: resource
|
||||||
|
configuration:
|
||||||
|
methods:
|
||||||
|
- GET
|
||||||
|
formats:
|
||||||
|
- json
|
||||||
|
authentication:
|
||||||
|
- cookie
|
|
@ -37,14 +37,14 @@ menus:
|
||||||
uuid: 52ec0062-b1c9-45be-a346-1b4907b7dea0
|
uuid: 52ec0062-b1c9-45be-a346-1b4907b7dea0
|
||||||
-
|
-
|
||||||
menu_name: administrator
|
menu_name: administrator
|
||||||
title: Groups
|
title: Bourgeons
|
||||||
parent: null
|
parent: null
|
||||||
uri: 'http://dev.ouatterrir.fr/api/admin/group'
|
uri: 'internal:/admin/group'
|
||||||
link_title: ''
|
link_title: ''
|
||||||
description: null
|
description: null
|
||||||
enabled: true
|
enabled: true
|
||||||
expanded: false
|
expanded: false
|
||||||
weight: 1
|
weight: -49
|
||||||
langcode: fr
|
langcode: fr
|
||||||
uuid: a9498617-648c-47d2-89d3-bc25c02d2a09
|
uuid: a9498617-648c-47d2-89d3-bc25c02d2a09
|
||||||
-
|
-
|
||||||
|
@ -56,7 +56,56 @@ menus:
|
||||||
description: null
|
description: null
|
||||||
enabled: true
|
enabled: true
|
||||||
expanded: false
|
expanded: false
|
||||||
weight: 2
|
weight: -46
|
||||||
langcode: fr
|
langcode: fr
|
||||||
uuid: a6e17ef7-58a7-430b-9a82-c7af480a2870
|
uuid: a6e17ef7-58a7-430b-9a82-c7af480a2870
|
||||||
|
-
|
||||||
|
menu_name: administrator
|
||||||
|
title: 'Registration codes'
|
||||||
|
parent: 'menu_link_content:a6e17ef7-58a7-430b-9a82-c7af480a2870'
|
||||||
|
uri: 'internal:/admin/config/people/regcode'
|
||||||
|
link_title: ''
|
||||||
|
description: null
|
||||||
|
enabled: true
|
||||||
|
expanded: false
|
||||||
|
weight: 0
|
||||||
|
langcode: fr
|
||||||
|
uuid: fe864d35-df11-41d3-a4a4-05fa58cfaefb
|
||||||
|
-
|
||||||
|
menu_name: administrator
|
||||||
|
title: Lieux
|
||||||
|
parent: null
|
||||||
|
uri: 'internal:/admin/structure/taxonomy/manage/lieu/overview'
|
||||||
|
link_title: ''
|
||||||
|
description: null
|
||||||
|
enabled: true
|
||||||
|
expanded: false
|
||||||
|
weight: -47
|
||||||
|
langcode: fr
|
||||||
|
uuid: 10cbd4a0-b907-4502-9c75-8f611cbcc5cb
|
||||||
|
-
|
||||||
|
menu_name: administrator
|
||||||
|
title: Structures
|
||||||
|
parent: null
|
||||||
|
uri: 'internal:/admin/structure/taxonomy/manage/structure/overview'
|
||||||
|
link_title: ''
|
||||||
|
description: null
|
||||||
|
enabled: true
|
||||||
|
expanded: false
|
||||||
|
weight: -48
|
||||||
|
langcode: fr
|
||||||
|
uuid: 49ef514c-0ba2-44bc-ada2-4621187a3fea
|
||||||
|
taxonomies:
|
||||||
|
lieu: { }
|
||||||
|
structure:
|
||||||
|
-
|
||||||
|
vid: structure
|
||||||
|
tid: '1'
|
||||||
|
langcode: fr
|
||||||
|
name: 'collectif rivage'
|
||||||
|
description__value: null
|
||||||
|
description__format: null
|
||||||
|
weight: '0'
|
||||||
|
parent: '0'
|
||||||
|
uuid: b12f7022-d9f0-44dc-907d-c1185e915d7e
|
||||||
log: 1
|
log: 1
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
uuid: 7afbb3a0-0130-4130-b83a-6a340648a1e6
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
name: Lieu
|
||||||
|
vid: lieu
|
||||||
|
description: ''
|
||||||
|
weight: 0
|
|
@ -7,6 +7,8 @@ dependencies:
|
||||||
- node.type.concernement
|
- node.type.concernement
|
||||||
- node.type.entite
|
- node.type.entite
|
||||||
- node.type.static
|
- node.type.static
|
||||||
|
- taxonomy.vocabulary.lieu
|
||||||
|
- taxonomy.vocabulary.structure
|
||||||
module:
|
module:
|
||||||
- actions_permissions
|
- actions_permissions
|
||||||
- administerusersbyrole
|
- administerusersbyrole
|
||||||
|
@ -18,7 +20,9 @@ dependencies:
|
||||||
- regcode
|
- regcode
|
||||||
- role_delegation
|
- role_delegation
|
||||||
- system
|
- system
|
||||||
|
- taxonomy
|
||||||
- toolbar
|
- toolbar
|
||||||
|
- workflow
|
||||||
_core:
|
_core:
|
||||||
default_config_hash: oPv8PkAuHYeKKe1c48A3-O9VsF3Nl1XBsMKrgqxo8vs
|
default_config_hash: oPv8PkAuHYeKKe1c48A3-O9VsF3Nl1XBsMKrgqxo8vs
|
||||||
id: admin
|
id: admin
|
||||||
|
@ -26,120 +30,128 @@ label: Admin
|
||||||
weight: -7
|
weight: -7
|
||||||
is_admin: null
|
is_admin: null
|
||||||
permissions:
|
permissions:
|
||||||
- 'access administration pages'
|
0: 'access administration pages'
|
||||||
- 'access any corpus_documents workflow_transion overview'
|
1: 'access any corpus_documents workflow_transion overview'
|
||||||
- 'access any generique workflow_transion overview'
|
2: 'access any generique workflow_transion overview'
|
||||||
- 'access files overview'
|
3: 'access files overview'
|
||||||
- 'access kint'
|
4: 'access kint'
|
||||||
- 'access toolbar'
|
5: 'access toolbar'
|
||||||
- 'access user profiles'
|
6: 'access user profiles'
|
||||||
- 'access users overview'
|
7: 'access users overview'
|
||||||
- 'administer productions menu items'
|
8: 'administer productions menu items'
|
||||||
- 'administer registration codes'
|
9: 'administer registration codes'
|
||||||
- 'assign group_admin role'
|
10: 'assign group_admin role'
|
||||||
- 'assign group_member role'
|
11: 'assign group_member role'
|
||||||
- 'cancel users with role group_admin'
|
12: 'cancel users with role group_admin'
|
||||||
- 'cancel users with role group_member'
|
13: 'cancel users with role group_member'
|
||||||
- 'change own username'
|
14: 'change own username'
|
||||||
- 'create bourgeon group'
|
15: 'create bourgeon group'
|
||||||
- 'create concernement content'
|
16: 'create concernement content'
|
||||||
- 'create content translations'
|
17: 'create content translations'
|
||||||
- 'create corpus_documents workflow_transition'
|
18: 'create corpus_documents workflow_transition'
|
||||||
- 'create defalut workflow_transition'
|
19: 'create defalut workflow_transition'
|
||||||
- 'create default workflow_transition'
|
20: 'create default workflow_transition'
|
||||||
- 'create enregistrement content'
|
21: 'create enregistrement content'
|
||||||
- 'create entite content'
|
22: 'create entite content'
|
||||||
- 'create evenement content'
|
23: 'create evenement content'
|
||||||
- 'create generique workflow_transition'
|
24: 'create generique workflow_transition'
|
||||||
- 'create page content'
|
25: 'create page content'
|
||||||
- 'create static content'
|
26: 'create static content'
|
||||||
- 'create terms in collectionneurs'
|
27: 'create terms in collectionneurs'
|
||||||
- 'create terms in entrees'
|
28: 'create terms in entrees'
|
||||||
- 'create terms in genres'
|
29: 'create terms in genres'
|
||||||
- 'create terms in langues'
|
30: 'create terms in langues'
|
||||||
- 'create terms in locuteurs'
|
31: 'create terms in locuteurs'
|
||||||
- 'create users'
|
32: 'create users'
|
||||||
- 'delete any autre_son content'
|
33: 'delete any autre_son content'
|
||||||
- 'delete any enregistrement content'
|
34: 'delete any enregistrement content'
|
||||||
- 'delete any evenement content'
|
35: 'delete any evenement content'
|
||||||
- 'delete any fil content'
|
36: 'delete any fil content'
|
||||||
- 'delete any page content'
|
37: 'delete any page content'
|
||||||
- 'delete concernement revisions'
|
38: 'delete concernement revisions'
|
||||||
- 'delete entite revisions'
|
39: 'delete entite revisions'
|
||||||
- 'delete own concernement content'
|
40: 'delete own concernement content'
|
||||||
- 'delete own entite content'
|
41: 'delete own entite content'
|
||||||
- 'delete own static content'
|
42: 'delete own static content'
|
||||||
- 'delete static revisions'
|
43: 'delete static revisions'
|
||||||
- 'delete terms in collectionneurs'
|
44: 'delete terms in collectionneurs'
|
||||||
- 'delete terms in entrees'
|
45: 'delete terms in entrees'
|
||||||
- 'delete terms in genres'
|
46: 'delete terms in genres'
|
||||||
- 'delete terms in langues'
|
47: 'delete terms in langues'
|
||||||
- 'delete terms in locuteurs'
|
48: 'delete terms in locuteurs'
|
||||||
- 'edit any autre_son content'
|
49: 'edit any autre_son content'
|
||||||
- 'edit any concernement content'
|
51: 'edit any enregistrement content'
|
||||||
- 'edit any enregistrement content'
|
52: 'edit any entite content'
|
||||||
- 'edit any entite content'
|
53: 'edit any evenement content'
|
||||||
- 'edit any evenement content'
|
54: 'edit any page content'
|
||||||
- 'edit any page content'
|
55: 'edit any static content'
|
||||||
- 'edit any static content'
|
56: 'edit own enregistrement content'
|
||||||
- 'edit own enregistrement content'
|
57: 'edit terms in collectionneurs'
|
||||||
- 'edit terms in collectionneurs'
|
58: 'edit terms in entrees'
|
||||||
- 'edit terms in entrees'
|
59: 'edit terms in genres'
|
||||||
- 'edit terms in genres'
|
60: 'edit terms in langues'
|
||||||
- 'edit terms in langues'
|
61: 'edit terms in locuteurs'
|
||||||
- 'edit terms in locuteurs'
|
62: 'edit users by role'
|
||||||
- 'edit users by role'
|
63: 'edit users with role group_admin'
|
||||||
- 'edit users with role group_admin'
|
64: 'edit users with role group_member'
|
||||||
- 'edit users with role group_member'
|
65: 'execute entity:save_action menu_link_content'
|
||||||
- 'execute entity:save_action menu_link_content'
|
66: 'execute entity:save_action node'
|
||||||
- 'execute entity:save_action node'
|
67: 'execute entity:save_action taxonomy_term'
|
||||||
- 'execute entity:save_action taxonomy_term'
|
68: 'execute entity:save_action user'
|
||||||
- 'execute entity:save_action user'
|
69: 'execute node_assign_owner_action node'
|
||||||
- 'execute node_assign_owner_action node'
|
70: 'execute node_promote_action node'
|
||||||
- 'execute node_promote_action node'
|
71: 'execute node_save_action node'
|
||||||
- 'execute node_save_action node'
|
72: 'execute node_unpromote_action node'
|
||||||
- 'execute node_unpromote_action node'
|
73: 'execute user_add_role_action user'
|
||||||
- 'execute user_add_role_action user'
|
74: 'execute user_block_user_action user'
|
||||||
- 'execute user_block_user_action user'
|
75: 'execute user_remove_role_action user'
|
||||||
- 'execute user_remove_role_action user'
|
76: 'execute user_unblock_user_action user'
|
||||||
- 'execute user_unblock_user_action user'
|
77: 'execute vbo_cancel_user_action user'
|
||||||
- 'execute vbo_cancel_user_action user'
|
78: 'execute views_bulk_edit all'
|
||||||
- 'execute views_bulk_edit all'
|
79: 'execute workflow_node_given_state_action node'
|
||||||
- 'execute workflow_node_given_state_action node'
|
80: 'execute workflow_node_next_state_action node'
|
||||||
- 'execute workflow_node_next_state_action node'
|
81: 'revert any corpus_documents workflow_transition'
|
||||||
- 'revert any corpus_documents workflow_transition'
|
82: 'revert any generique workflow_transition'
|
||||||
- 'revert any generique workflow_transition'
|
83: 'revert autre_son revisions'
|
||||||
- 'revert autre_son revisions'
|
84: 'revert concernement revisions'
|
||||||
- 'revert concernement revisions'
|
85: 'revert enregistrement revisions'
|
||||||
- 'revert enregistrement revisions'
|
86: 'revert entite revisions'
|
||||||
- 'revert entite revisions'
|
87: 'revert evenement revisions'
|
||||||
- 'revert evenement revisions'
|
88: 'revert page revisions'
|
||||||
- 'revert page revisions'
|
89: 'revert static revisions'
|
||||||
- 'revert static revisions'
|
90: 'role-assign users with role group_admin'
|
||||||
- 'role-assign users with role group_admin'
|
91: 'role-assign users with role group_member'
|
||||||
- 'role-assign users with role group_member'
|
92: 'schedule corpus_documents workflow_transition'
|
||||||
- 'schedule corpus_documents workflow_transition'
|
93: 'schedule generique workflow_transition'
|
||||||
- 'schedule generique workflow_transition'
|
94: 'translate enregistrement node'
|
||||||
- 'translate enregistrement node'
|
95: 'translate entrees taxonomy_term'
|
||||||
- 'translate entrees taxonomy_term'
|
96: 'translate evenement node'
|
||||||
- 'translate evenement node'
|
97: 'translate genres taxonomy_term'
|
||||||
- 'translate genres taxonomy_term'
|
98: 'translate langues taxonomy_term'
|
||||||
- 'translate langues taxonomy_term'
|
99: 'translate menu_link_content'
|
||||||
- 'translate menu_link_content'
|
100: 'translate page node'
|
||||||
- 'translate page node'
|
101: 'translate static node'
|
||||||
- 'translate static node'
|
102: 'update content translations'
|
||||||
- 'update content translations'
|
103: 'use text format wysiwyg'
|
||||||
- 'use text format wysiwyg'
|
104: 'view autre_son revisions'
|
||||||
- 'view autre_son revisions'
|
105: 'view concernement revisions'
|
||||||
- 'view concernement revisions'
|
106: 'view enregistrement revisions'
|
||||||
- 'view enregistrement revisions'
|
107: 'view entite revisions'
|
||||||
- 'view entite revisions'
|
108: 'view evenement revisions'
|
||||||
- 'view evenement revisions'
|
109: 'view own unpublished content'
|
||||||
- 'view own unpublished content'
|
110: 'view page revisions'
|
||||||
- 'view page revisions'
|
111: 'view static revisions'
|
||||||
- 'view static revisions'
|
112: 'view the administration theme'
|
||||||
- 'view the administration theme'
|
113: 'view user email addresses'
|
||||||
- 'view user email addresses'
|
114: 'view users by role'
|
||||||
- 'view users by role'
|
115: 'view users with role group_admin'
|
||||||
- 'view users with role group_admin'
|
116: 'view users with role group_member'
|
||||||
- 'view users with role group_member'
|
117: 'create terms in lieu'
|
||||||
|
118: 'create terms in structure'
|
||||||
|
119: 'delete terms in lieu'
|
||||||
|
120: 'delete terms in structure'
|
||||||
|
121: 'edit terms in lieu'
|
||||||
|
122: 'edit terms in structure'
|
||||||
|
123: 'access taxonomy overview'
|
||||||
|
124: 'create confidentialite workflow_transition'
|
||||||
|
125: 'edit own concernement content'
|
||||||
|
|
|
@ -10,6 +10,7 @@ dependencies:
|
||||||
- graphql
|
- graphql
|
||||||
- group
|
- group
|
||||||
- system
|
- system
|
||||||
|
- workflow
|
||||||
_core:
|
_core:
|
||||||
default_config_hash: g0EHI5W4j_ZUCTvSQWEDEKVvC0g1Glt4YWZt_ihyvog
|
default_config_hash: g0EHI5W4j_ZUCTvSQWEDEKVvC0g1Glt4YWZt_ihyvog
|
||||||
id: anonymous
|
id: anonymous
|
||||||
|
@ -31,3 +32,4 @@ permissions:
|
||||||
- 'use text format wysiwyg'
|
- 'use text format wysiwyg'
|
||||||
- 'view published fil entities'
|
- 'view published fil entities'
|
||||||
- 'view search api pages'
|
- 'view search api pages'
|
||||||
|
- 'create confidentialite workflow_transition'
|
||||||
|
|
|
@ -3,6 +3,7 @@ langcode: fr
|
||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
|
- filter.format.linkonly
|
||||||
- filter.format.wysiwyg
|
- filter.format.wysiwyg
|
||||||
module:
|
module:
|
||||||
- devel
|
- devel
|
||||||
|
@ -10,6 +11,7 @@ dependencies:
|
||||||
- graphql
|
- graphql
|
||||||
- group
|
- group
|
||||||
- system
|
- system
|
||||||
|
- workflow
|
||||||
_core:
|
_core:
|
||||||
default_config_hash: NlAJ1uthbRfNcM-M7UCYixmpTNgZnkuQKQymrXPv7UY
|
default_config_hash: NlAJ1uthbRfNcM-M7UCYixmpTNgZnkuQKQymrXPv7UY
|
||||||
id: authenticated
|
id: authenticated
|
||||||
|
@ -44,3 +46,7 @@ permissions:
|
||||||
- 'view published composition entities'
|
- 'view published composition entities'
|
||||||
- 'view published fil entities'
|
- 'view published fil entities'
|
||||||
- 'view search api pages'
|
- 'view search api pages'
|
||||||
|
- 'use text format linkonly'
|
||||||
|
- 'create confidentialite workflow_transition'
|
||||||
|
- 'access own confidentialite workflow_transion overview'
|
||||||
|
- 'revert own confidentialite workflow_transition'
|
||||||
|
|
|
@ -5,12 +5,16 @@ dependencies:
|
||||||
config:
|
config:
|
||||||
- node.type.concernement
|
- node.type.concernement
|
||||||
- node.type.entite
|
- node.type.entite
|
||||||
|
- taxonomy.vocabulary.lieu
|
||||||
|
- taxonomy.vocabulary.structure
|
||||||
module:
|
module:
|
||||||
- administerusersbyrole
|
- administerusersbyrole
|
||||||
- node
|
- node
|
||||||
- role_delegation
|
- role_delegation
|
||||||
- system
|
- system
|
||||||
|
- taxonomy
|
||||||
- toolbar
|
- toolbar
|
||||||
|
- workflow
|
||||||
id: group_admin
|
id: group_admin
|
||||||
label: 'group admin'
|
label: 'group admin'
|
||||||
weight: -3
|
weight: -3
|
||||||
|
@ -36,3 +40,11 @@ permissions:
|
||||||
- 'view the administration theme'
|
- 'view the administration theme'
|
||||||
- 'view users by role'
|
- 'view users by role'
|
||||||
- 'view users with role group_member'
|
- 'view users with role group_member'
|
||||||
|
- 'create terms in lieu'
|
||||||
|
- 'create terms in structure'
|
||||||
|
- 'delete terms in lieu'
|
||||||
|
- 'delete terms in structure'
|
||||||
|
- 'edit terms in lieu'
|
||||||
|
- 'edit terms in structure'
|
||||||
|
- 'access taxonomy overview'
|
||||||
|
- 'create confidentialite workflow_transition'
|
||||||
|
|
|
@ -9,6 +9,7 @@ dependencies:
|
||||||
- node
|
- node
|
||||||
- system
|
- system
|
||||||
- toolbar
|
- toolbar
|
||||||
|
- workflow
|
||||||
id: group_member
|
id: group_member
|
||||||
label: 'group member'
|
label: 'group member'
|
||||||
weight: -2
|
weight: -2
|
||||||
|
@ -26,3 +27,4 @@ permissions:
|
||||||
- 'view entite revisions'
|
- 'view entite revisions'
|
||||||
- 'view own unpublished content'
|
- 'view own unpublished content'
|
||||||
- 'view the administration theme'
|
- 'view the administration theme'
|
||||||
|
- 'create confidentialite workflow_transition'
|
||||||
|
|
|
@ -32,6 +32,7 @@ dependencies:
|
||||||
- taxonomy
|
- taxonomy
|
||||||
- toolbar
|
- toolbar
|
||||||
- views_ui
|
- views_ui
|
||||||
|
- workflow
|
||||||
_core:
|
_core:
|
||||||
default_config_hash: TBu83Sl_ckotQqV22pDBGe0jLnR1nLyiVeVVnYJX_kQ
|
default_config_hash: TBu83Sl_ckotQqV22pDBGe0jLnR1nLyiVeVVnYJX_kQ
|
||||||
id: root
|
id: root
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
uuid: fd49076e-124c-4973-9a8e-efbd35cd1fbe
|
uuid: fd49076e-124c-4973-9a8e-efbd35cd1fbe
|
||||||
langcode: fr
|
langcode: fr
|
||||||
status: true
|
status: true
|
||||||
dependencies: { }
|
dependencies:
|
||||||
|
module:
|
||||||
|
- workflow
|
||||||
_core:
|
_core:
|
||||||
default_config_hash: i1HX2g6ycNxMoSaVKRrMZtmApin-bVKG1d0FG04peQw
|
default_config_hash: i1HX2g6ycNxMoSaVKRrMZtmApin-bVKG1d0FG04peQw
|
||||||
id: user
|
id: user
|
||||||
|
@ -11,3 +13,4 @@ is_admin: null
|
||||||
permissions:
|
permissions:
|
||||||
- 'create defalut workflow_transition'
|
- 'create defalut workflow_transition'
|
||||||
- 'create default workflow_transition'
|
- 'create default workflow_transition'
|
||||||
|
- 'create confidentialite workflow_transition'
|
||||||
|
|
|
@ -3,6 +3,7 @@ langcode: fr
|
||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
|
- field.storage.node.field_confidentialite
|
||||||
- node.type.concernement
|
- node.type.concernement
|
||||||
- node.type.entite
|
- node.type.entite
|
||||||
- node.type.static
|
- node.type.static
|
||||||
|
@ -11,6 +12,7 @@ dependencies:
|
||||||
module:
|
module:
|
||||||
- content_lock
|
- content_lock
|
||||||
- node
|
- node
|
||||||
|
- options
|
||||||
- user
|
- user
|
||||||
- views_bulk_operations
|
- views_bulk_operations
|
||||||
id: admin_nodes
|
id: admin_nodes
|
||||||
|
@ -195,22 +197,32 @@ display:
|
||||||
row_class: ''
|
row_class: ''
|
||||||
default_row_class: true
|
default_row_class: true
|
||||||
columns:
|
columns:
|
||||||
title: title
|
|
||||||
is_locked: title
|
|
||||||
uid: uid
|
|
||||||
views_bulk_operations_bulk_form: views_bulk_operations_bulk_form
|
views_bulk_operations_bulk_form: views_bulk_operations_bulk_form
|
||||||
|
title: title
|
||||||
operations: title
|
operations: title
|
||||||
changed: changed
|
is_locked: title
|
||||||
status: status
|
status: status
|
||||||
default: '-1'
|
changed: changed
|
||||||
|
uid: uid
|
||||||
|
default: changed
|
||||||
info:
|
info:
|
||||||
|
views_bulk_operations_bulk_form:
|
||||||
|
align: ''
|
||||||
|
separator: ''
|
||||||
|
empty_column: false
|
||||||
|
responsive: ''
|
||||||
title:
|
title:
|
||||||
sortable: false
|
sortable: true
|
||||||
default_sort_order: asc
|
default_sort_order: asc
|
||||||
align: ''
|
align: ''
|
||||||
separator: '<br>'
|
separator: '<br>'
|
||||||
empty_column: false
|
empty_column: false
|
||||||
responsive: ''
|
responsive: ''
|
||||||
|
operations:
|
||||||
|
align: ''
|
||||||
|
separator: ''
|
||||||
|
empty_column: false
|
||||||
|
responsive: ''
|
||||||
is_locked:
|
is_locked:
|
||||||
sortable: false
|
sortable: false
|
||||||
default_sort_order: asc
|
default_sort_order: asc
|
||||||
|
@ -218,31 +230,21 @@ display:
|
||||||
separator: ''
|
separator: ''
|
||||||
empty_column: false
|
empty_column: false
|
||||||
responsive: ''
|
responsive: ''
|
||||||
uid:
|
status:
|
||||||
sortable: false
|
sortable: true
|
||||||
default_sort_order: asc
|
default_sort_order: asc
|
||||||
align: ''
|
align: ''
|
||||||
separator: ''
|
separator: ''
|
||||||
empty_column: false
|
empty_column: false
|
||||||
responsive: ''
|
responsive: ''
|
||||||
views_bulk_operations_bulk_form:
|
|
||||||
align: ''
|
|
||||||
separator: ''
|
|
||||||
empty_column: false
|
|
||||||
responsive: ''
|
|
||||||
operations:
|
|
||||||
align: ''
|
|
||||||
separator: ''
|
|
||||||
empty_column: false
|
|
||||||
responsive: ''
|
|
||||||
changed:
|
changed:
|
||||||
sortable: false
|
sortable: true
|
||||||
default_sort_order: asc
|
default_sort_order: desc
|
||||||
align: ''
|
align: ''
|
||||||
separator: ''
|
separator: ''
|
||||||
empty_column: false
|
empty_column: false
|
||||||
responsive: ''
|
responsive: ''
|
||||||
status:
|
uid:
|
||||||
sortable: false
|
sortable: false
|
||||||
default_sort_order: asc
|
default_sort_order: asc
|
||||||
align: ''
|
align: ''
|
||||||
|
@ -367,11 +369,15 @@ display:
|
||||||
action_id: node_unpublish_by_keyword_action
|
action_id: node_unpublish_by_keyword_action
|
||||||
preconfiguration:
|
preconfiguration:
|
||||||
add_confirmation: false
|
add_confirmation: false
|
||||||
10:
|
9:
|
||||||
|
action_id: workflow_node_given_state_action
|
||||||
|
preconfiguration:
|
||||||
|
add_confirmation: false
|
||||||
|
12:
|
||||||
action_id: 'entity:save_action:node'
|
action_id: 'entity:save_action:node'
|
||||||
preconfiguration:
|
preconfiguration:
|
||||||
add_confirmation: false
|
add_confirmation: false
|
||||||
11:
|
13:
|
||||||
action_id: 'entity:unpublish_action:node'
|
action_id: 'entity:unpublish_action:node'
|
||||||
preconfiguration:
|
preconfiguration:
|
||||||
add_confirmation: true
|
add_confirmation: true
|
||||||
|
@ -743,6 +749,68 @@ display:
|
||||||
multi_type: separator
|
multi_type: separator
|
||||||
separator: ', '
|
separator: ', '
|
||||||
field_api_classes: false
|
field_api_classes: false
|
||||||
|
field_confidentialite:
|
||||||
|
id: field_confidentialite
|
||||||
|
table: node__field_confidentialite
|
||||||
|
field: field_confidentialite
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
plugin_id: field
|
||||||
|
label: Confidentialité
|
||||||
|
exclude: false
|
||||||
|
alter:
|
||||||
|
alter_text: false
|
||||||
|
text: ''
|
||||||
|
make_link: false
|
||||||
|
path: ''
|
||||||
|
absolute: false
|
||||||
|
external: false
|
||||||
|
replace_spaces: false
|
||||||
|
path_case: none
|
||||||
|
trim_whitespace: false
|
||||||
|
alt: ''
|
||||||
|
rel: ''
|
||||||
|
link_class: ''
|
||||||
|
prefix: ''
|
||||||
|
suffix: ''
|
||||||
|
target: ''
|
||||||
|
nl2br: false
|
||||||
|
max_length: 0
|
||||||
|
word_boundary: true
|
||||||
|
ellipsis: true
|
||||||
|
more_link: false
|
||||||
|
more_link_text: ''
|
||||||
|
more_link_path: ''
|
||||||
|
strip_tags: false
|
||||||
|
trim: false
|
||||||
|
preserve_tags: ''
|
||||||
|
html: false
|
||||||
|
element_type: ''
|
||||||
|
element_class: ''
|
||||||
|
element_label_type: ''
|
||||||
|
element_label_class: ''
|
||||||
|
element_label_colon: true
|
||||||
|
element_wrapper_type: ''
|
||||||
|
element_wrapper_class: ''
|
||||||
|
element_default_classes: true
|
||||||
|
empty: ''
|
||||||
|
hide_empty: false
|
||||||
|
empty_zero: false
|
||||||
|
hide_alter_empty: true
|
||||||
|
click_sort_column: value
|
||||||
|
type: list_default
|
||||||
|
settings: { }
|
||||||
|
group_column: value
|
||||||
|
group_columns: { }
|
||||||
|
group_rows: true
|
||||||
|
delta_limit: 0
|
||||||
|
delta_offset: 0
|
||||||
|
delta_reversed: false
|
||||||
|
delta_first_last: false
|
||||||
|
multi_type: separator
|
||||||
|
separator: ', '
|
||||||
|
field_api_classes: false
|
||||||
access:
|
access:
|
||||||
type: role
|
type: role
|
||||||
options:
|
options:
|
||||||
|
@ -836,6 +904,53 @@ display:
|
||||||
default_group: All
|
default_group: All
|
||||||
default_group_multiple: { }
|
default_group_multiple: { }
|
||||||
group_items: { }
|
group_items: { }
|
||||||
|
uid:
|
||||||
|
id: uid
|
||||||
|
table: node_field_data
|
||||||
|
field: uid
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
entity_type: node
|
||||||
|
entity_field: uid
|
||||||
|
plugin_id: user_name
|
||||||
|
operator: in
|
||||||
|
value: { }
|
||||||
|
group: 1
|
||||||
|
exposed: true
|
||||||
|
expose:
|
||||||
|
operator_id: uid_op
|
||||||
|
label: 'Écrit par'
|
||||||
|
description: ''
|
||||||
|
use_operator: false
|
||||||
|
operator: uid_op
|
||||||
|
operator_limit_selection: false
|
||||||
|
operator_list: { }
|
||||||
|
identifier: uid
|
||||||
|
required: false
|
||||||
|
remember: false
|
||||||
|
multiple: false
|
||||||
|
remember_roles:
|
||||||
|
authenticated: authenticated
|
||||||
|
anonymous: '0'
|
||||||
|
admin: '0'
|
||||||
|
root: '0'
|
||||||
|
user: '0'
|
||||||
|
group_admin: '0'
|
||||||
|
group_member: '0'
|
||||||
|
reduce: false
|
||||||
|
is_grouped: false
|
||||||
|
group_info:
|
||||||
|
label: ''
|
||||||
|
description: ''
|
||||||
|
identifier: ''
|
||||||
|
optional: true
|
||||||
|
widget: select
|
||||||
|
multiple: false
|
||||||
|
remember: false
|
||||||
|
default_group: All
|
||||||
|
default_group_multiple: { }
|
||||||
|
group_items: { }
|
||||||
filter_groups:
|
filter_groups:
|
||||||
operator: AND
|
operator: AND
|
||||||
groups:
|
groups:
|
||||||
|
@ -872,7 +987,8 @@ display:
|
||||||
- url.query_args
|
- url.query_args
|
||||||
- 'user.node_grants:view'
|
- 'user.node_grants:view'
|
||||||
- user.roles
|
- user.roles
|
||||||
tags: { }
|
tags:
|
||||||
|
- 'config:field.storage.node.field_confidentialite'
|
||||||
page_2:
|
page_2:
|
||||||
id: page_2
|
id: page_2
|
||||||
display_title: Entités
|
display_title: Entités
|
||||||
|
@ -943,14 +1059,18 @@ display:
|
||||||
preconfiguration:
|
preconfiguration:
|
||||||
add_confirmation: false
|
add_confirmation: false
|
||||||
9:
|
9:
|
||||||
action_id: 'entity:publish_action:node'
|
action_id: workflow_node_given_state_action
|
||||||
preconfiguration:
|
|
||||||
add_confirmation: false
|
|
||||||
10:
|
|
||||||
action_id: 'entity:save_action:node'
|
|
||||||
preconfiguration:
|
preconfiguration:
|
||||||
add_confirmation: false
|
add_confirmation: false
|
||||||
11:
|
11:
|
||||||
|
action_id: 'entity:publish_action:node'
|
||||||
|
preconfiguration:
|
||||||
|
add_confirmation: false
|
||||||
|
12:
|
||||||
|
action_id: 'entity:save_action:node'
|
||||||
|
preconfiguration:
|
||||||
|
add_confirmation: false
|
||||||
|
13:
|
||||||
action_id: 'entity:unpublish_action:node'
|
action_id: 'entity:unpublish_action:node'
|
||||||
preconfiguration:
|
preconfiguration:
|
||||||
add_confirmation: false
|
add_confirmation: false
|
||||||
|
@ -1322,6 +1442,68 @@ display:
|
||||||
multi_type: separator
|
multi_type: separator
|
||||||
separator: ', '
|
separator: ', '
|
||||||
field_api_classes: false
|
field_api_classes: false
|
||||||
|
field_confidentialite:
|
||||||
|
id: field_confidentialite
|
||||||
|
table: node__field_confidentialite
|
||||||
|
field: field_confidentialite
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
plugin_id: field
|
||||||
|
label: Confidentialité
|
||||||
|
exclude: false
|
||||||
|
alter:
|
||||||
|
alter_text: false
|
||||||
|
text: ''
|
||||||
|
make_link: false
|
||||||
|
path: ''
|
||||||
|
absolute: false
|
||||||
|
external: false
|
||||||
|
replace_spaces: false
|
||||||
|
path_case: none
|
||||||
|
trim_whitespace: false
|
||||||
|
alt: ''
|
||||||
|
rel: ''
|
||||||
|
link_class: ''
|
||||||
|
prefix: ''
|
||||||
|
suffix: ''
|
||||||
|
target: ''
|
||||||
|
nl2br: false
|
||||||
|
max_length: 0
|
||||||
|
word_boundary: true
|
||||||
|
ellipsis: true
|
||||||
|
more_link: false
|
||||||
|
more_link_text: ''
|
||||||
|
more_link_path: ''
|
||||||
|
strip_tags: false
|
||||||
|
trim: false
|
||||||
|
preserve_tags: ''
|
||||||
|
html: false
|
||||||
|
element_type: ''
|
||||||
|
element_class: ''
|
||||||
|
element_label_type: ''
|
||||||
|
element_label_class: ''
|
||||||
|
element_label_colon: true
|
||||||
|
element_wrapper_type: ''
|
||||||
|
element_wrapper_class: ''
|
||||||
|
element_default_classes: true
|
||||||
|
empty: ''
|
||||||
|
hide_empty: false
|
||||||
|
empty_zero: false
|
||||||
|
hide_alter_empty: true
|
||||||
|
click_sort_column: value
|
||||||
|
type: list_default
|
||||||
|
settings: { }
|
||||||
|
group_column: value
|
||||||
|
group_columns: { }
|
||||||
|
group_rows: true
|
||||||
|
delta_limit: 0
|
||||||
|
delta_offset: 0
|
||||||
|
delta_reversed: false
|
||||||
|
delta_first_last: false
|
||||||
|
multi_type: separator
|
||||||
|
separator: ', '
|
||||||
|
field_api_classes: false
|
||||||
access:
|
access:
|
||||||
type: role
|
type: role
|
||||||
options:
|
options:
|
||||||
|
@ -1426,25 +1608,20 @@ display:
|
||||||
default_row_class: true
|
default_row_class: true
|
||||||
columns:
|
columns:
|
||||||
views_bulk_operations_bulk_form: views_bulk_operations_bulk_form
|
views_bulk_operations_bulk_form: views_bulk_operations_bulk_form
|
||||||
field_images: field_images
|
|
||||||
title: title
|
title: title
|
||||||
operations: title
|
operations: title
|
||||||
is_locked: title
|
is_locked: title
|
||||||
status: status
|
status: status
|
||||||
changed: changed
|
changed: changed
|
||||||
uid: uid
|
uid: uid
|
||||||
default: '-1'
|
field_confidentialite: field_confidentialite
|
||||||
|
default: changed
|
||||||
info:
|
info:
|
||||||
views_bulk_operations_bulk_form:
|
views_bulk_operations_bulk_form:
|
||||||
align: ''
|
align: ''
|
||||||
separator: ''
|
separator: ''
|
||||||
empty_column: false
|
empty_column: false
|
||||||
responsive: ''
|
responsive: ''
|
||||||
field_images:
|
|
||||||
align: ''
|
|
||||||
separator: ''
|
|
||||||
empty_column: false
|
|
||||||
responsive: ''
|
|
||||||
title:
|
title:
|
||||||
sortable: false
|
sortable: false
|
||||||
default_sort_order: asc
|
default_sort_order: asc
|
||||||
|
@ -1465,20 +1642,27 @@ display:
|
||||||
empty_column: false
|
empty_column: false
|
||||||
responsive: ''
|
responsive: ''
|
||||||
status:
|
status:
|
||||||
sortable: false
|
sortable: true
|
||||||
default_sort_order: asc
|
default_sort_order: asc
|
||||||
align: ''
|
align: ''
|
||||||
separator: ''
|
separator: ''
|
||||||
empty_column: false
|
empty_column: false
|
||||||
responsive: ''
|
responsive: ''
|
||||||
changed:
|
changed:
|
||||||
|
sortable: true
|
||||||
|
default_sort_order: desc
|
||||||
|
align: ''
|
||||||
|
separator: ''
|
||||||
|
empty_column: false
|
||||||
|
responsive: ''
|
||||||
|
uid:
|
||||||
sortable: false
|
sortable: false
|
||||||
default_sort_order: asc
|
default_sort_order: asc
|
||||||
align: ''
|
align: ''
|
||||||
separator: ''
|
separator: ''
|
||||||
empty_column: false
|
empty_column: false
|
||||||
responsive: ''
|
responsive: ''
|
||||||
uid:
|
field_confidentialite:
|
||||||
sortable: false
|
sortable: false
|
||||||
default_sort_order: asc
|
default_sort_order: asc
|
||||||
align: ''
|
align: ''
|
||||||
|
@ -1533,7 +1717,8 @@ display:
|
||||||
- url.query_args
|
- url.query_args
|
||||||
- 'user.node_grants:view'
|
- 'user.node_grants:view'
|
||||||
- user.roles
|
- user.roles
|
||||||
tags: { }
|
tags:
|
||||||
|
- 'config:field.storage.node.field_confidentialite'
|
||||||
page_3:
|
page_3:
|
||||||
id: page_3
|
id: page_3
|
||||||
display_title: 'Admin Statics'
|
display_title: 'Admin Statics'
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
_core:
|
||||||
|
default_config_hash: ne-hLr6xAfj-y7himkP4sQpLeAsTLAzt9YuxlQCk8N8
|
||||||
|
langcode: fr
|
||||||
|
workflow_states_per_page: 20
|
|
@ -0,0 +1,12 @@
|
||||||
|
uuid: 0351b46e-4e73-41c2-96e1-721e94de7f9d
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.workflow.confidentialite
|
||||||
|
id: confidentialite_creation
|
||||||
|
label: Création
|
||||||
|
module: workflow
|
||||||
|
wid: confidentialite
|
||||||
|
weight: -11
|
||||||
|
sysid: 1
|
|
@ -0,0 +1,12 @@
|
||||||
|
uuid: 183705af-2ec6-4139-bae1-66259dd6fa7b
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.workflow.confidentialite
|
||||||
|
id: confidentialite_interne
|
||||||
|
label: Interne
|
||||||
|
module: workflow
|
||||||
|
wid: confidentialite
|
||||||
|
weight: -8
|
||||||
|
sysid: 0
|
|
@ -0,0 +1,12 @@
|
||||||
|
uuid: ba338719-1bd7-4037-b595-5ce9eb9d62f1
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.workflow.confidentialite
|
||||||
|
id: confidentialite_prive
|
||||||
|
label: Privé
|
||||||
|
module: workflow
|
||||||
|
wid: confidentialite
|
||||||
|
weight: -9
|
||||||
|
sysid: 0
|
|
@ -0,0 +1,12 @@
|
||||||
|
uuid: c647b5ee-7a46-4de6-958a-002e0c32e382
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.workflow.confidentialite
|
||||||
|
id: confidentialite_public
|
||||||
|
label: Public
|
||||||
|
module: workflow
|
||||||
|
wid: confidentialite
|
||||||
|
weight: -7
|
||||||
|
sysid: 0
|
|
@ -0,0 +1,21 @@
|
||||||
|
uuid: ab020652-689c-444c-80e4-c2707e53ac6e
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.state.confidentialite_creation
|
||||||
|
- workflow.state.confidentialite_interne
|
||||||
|
id: confidentialite_creation_interne
|
||||||
|
label: null
|
||||||
|
module: workflow
|
||||||
|
from_sid: confidentialite_creation
|
||||||
|
to_sid: confidentialite_interne
|
||||||
|
roles:
|
||||||
|
workflow_author: workflow_author
|
||||||
|
anonymous: '0'
|
||||||
|
authenticated: '0'
|
||||||
|
admin: '0'
|
||||||
|
root: '0'
|
||||||
|
user: '0'
|
||||||
|
group_admin: '0'
|
||||||
|
group_member: '0'
|
|
@ -0,0 +1,21 @@
|
||||||
|
uuid: 85b1be83-d2bd-4a90-b27d-803269f91d36
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.state.confidentialite_creation
|
||||||
|
- workflow.state.confidentialite_prive
|
||||||
|
id: confidentialite_creation_prive
|
||||||
|
label: null
|
||||||
|
module: workflow
|
||||||
|
from_sid: confidentialite_creation
|
||||||
|
to_sid: confidentialite_prive
|
||||||
|
roles:
|
||||||
|
workflow_author: workflow_author
|
||||||
|
anonymous: '0'
|
||||||
|
authenticated: '0'
|
||||||
|
admin: '0'
|
||||||
|
root: '0'
|
||||||
|
user: '0'
|
||||||
|
group_admin: '0'
|
||||||
|
group_member: '0'
|
|
@ -0,0 +1,21 @@
|
||||||
|
uuid: 2e2d73c6-d25d-4eb6-8c7e-e1f7aa64b92b
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.state.confidentialite_creation
|
||||||
|
- workflow.state.confidentialite_public
|
||||||
|
id: confidentialite_creation_public
|
||||||
|
label: null
|
||||||
|
module: workflow
|
||||||
|
from_sid: confidentialite_creation
|
||||||
|
to_sid: confidentialite_public
|
||||||
|
roles:
|
||||||
|
workflow_author: workflow_author
|
||||||
|
anonymous: '0'
|
||||||
|
authenticated: '0'
|
||||||
|
admin: '0'
|
||||||
|
root: '0'
|
||||||
|
user: '0'
|
||||||
|
group_admin: '0'
|
||||||
|
group_member: '0'
|
|
@ -0,0 +1,12 @@
|
||||||
|
uuid: 660a5e55-b825-4929-8f4e-c4cd8cdf7909
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.state.confidentialite_interne
|
||||||
|
id: confidentialite_interne_interne
|
||||||
|
label: null
|
||||||
|
module: workflow
|
||||||
|
from_sid: confidentialite_interne
|
||||||
|
to_sid: confidentialite_interne
|
||||||
|
roles: { }
|
|
@ -0,0 +1,21 @@
|
||||||
|
uuid: f5b55ad2-a374-427f-a4c1-a379a7ec0b24
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.state.confidentialite_interne
|
||||||
|
- workflow.state.confidentialite_prive
|
||||||
|
id: confidentialite_interne_prive
|
||||||
|
label: null
|
||||||
|
module: workflow
|
||||||
|
from_sid: confidentialite_interne
|
||||||
|
to_sid: confidentialite_prive
|
||||||
|
roles:
|
||||||
|
workflow_author: workflow_author
|
||||||
|
anonymous: '0'
|
||||||
|
authenticated: '0'
|
||||||
|
admin: '0'
|
||||||
|
root: '0'
|
||||||
|
user: '0'
|
||||||
|
group_admin: '0'
|
||||||
|
group_member: '0'
|
|
@ -0,0 +1,21 @@
|
||||||
|
uuid: c8bf1fae-a2c9-48ee-8474-78501db435b5
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.state.confidentialite_interne
|
||||||
|
- workflow.state.confidentialite_public
|
||||||
|
id: confidentialite_interne_public
|
||||||
|
label: null
|
||||||
|
module: workflow
|
||||||
|
from_sid: confidentialite_interne
|
||||||
|
to_sid: confidentialite_public
|
||||||
|
roles:
|
||||||
|
workflow_author: workflow_author
|
||||||
|
anonymous: '0'
|
||||||
|
authenticated: '0'
|
||||||
|
admin: '0'
|
||||||
|
root: '0'
|
||||||
|
user: '0'
|
||||||
|
group_admin: '0'
|
||||||
|
group_member: '0'
|
|
@ -0,0 +1,21 @@
|
||||||
|
uuid: 0972a24b-390b-4d93-8d8d-4f818d05de26
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.state.confidentialite_interne
|
||||||
|
- workflow.state.confidentialite_prive
|
||||||
|
id: confidentialite_prive_interne
|
||||||
|
label: null
|
||||||
|
module: workflow
|
||||||
|
from_sid: confidentialite_prive
|
||||||
|
to_sid: confidentialite_interne
|
||||||
|
roles:
|
||||||
|
workflow_author: workflow_author
|
||||||
|
anonymous: '0'
|
||||||
|
authenticated: '0'
|
||||||
|
admin: '0'
|
||||||
|
root: '0'
|
||||||
|
user: '0'
|
||||||
|
group_admin: '0'
|
||||||
|
group_member: '0'
|
|
@ -0,0 +1,12 @@
|
||||||
|
uuid: a2b1e04e-972f-44ee-84e8-07855498a354
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.state.confidentialite_prive
|
||||||
|
id: confidentialite_prive_prive
|
||||||
|
label: null
|
||||||
|
module: workflow
|
||||||
|
from_sid: confidentialite_prive
|
||||||
|
to_sid: confidentialite_prive
|
||||||
|
roles: { }
|
|
@ -0,0 +1,21 @@
|
||||||
|
uuid: d2d5c293-2ead-4fc8-95be-ef68d3a3a0c5
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.state.confidentialite_prive
|
||||||
|
- workflow.state.confidentialite_public
|
||||||
|
id: confidentialite_prive_public
|
||||||
|
label: null
|
||||||
|
module: workflow
|
||||||
|
from_sid: confidentialite_prive
|
||||||
|
to_sid: confidentialite_public
|
||||||
|
roles:
|
||||||
|
workflow_author: workflow_author
|
||||||
|
anonymous: '0'
|
||||||
|
authenticated: '0'
|
||||||
|
admin: '0'
|
||||||
|
root: '0'
|
||||||
|
user: '0'
|
||||||
|
group_admin: '0'
|
||||||
|
group_member: '0'
|
|
@ -0,0 +1,21 @@
|
||||||
|
uuid: 01fe5f06-6534-475b-ba5d-e35ed4d57074
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.state.confidentialite_interne
|
||||||
|
- workflow.state.confidentialite_public
|
||||||
|
id: confidentialite_public_interne
|
||||||
|
label: null
|
||||||
|
module: workflow
|
||||||
|
from_sid: confidentialite_public
|
||||||
|
to_sid: confidentialite_interne
|
||||||
|
roles:
|
||||||
|
workflow_author: workflow_author
|
||||||
|
anonymous: '0'
|
||||||
|
authenticated: '0'
|
||||||
|
admin: '0'
|
||||||
|
root: '0'
|
||||||
|
user: '0'
|
||||||
|
group_admin: '0'
|
||||||
|
group_member: '0'
|
|
@ -0,0 +1,21 @@
|
||||||
|
uuid: 01009bf6-5dca-4e7f-9e38-84d47dae0665
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.state.confidentialite_prive
|
||||||
|
- workflow.state.confidentialite_public
|
||||||
|
id: confidentialite_public_prive
|
||||||
|
label: null
|
||||||
|
module: workflow
|
||||||
|
from_sid: confidentialite_public
|
||||||
|
to_sid: confidentialite_prive
|
||||||
|
roles:
|
||||||
|
workflow_author: workflow_author
|
||||||
|
anonymous: '0'
|
||||||
|
authenticated: '0'
|
||||||
|
admin: '0'
|
||||||
|
root: '0'
|
||||||
|
user: '0'
|
||||||
|
group_admin: '0'
|
||||||
|
group_member: '0'
|
|
@ -0,0 +1,12 @@
|
||||||
|
uuid: b7ab92f0-4333-4077-af68-16e9e6c0fe27
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- workflow.state.confidentialite_public
|
||||||
|
id: confidentialite_public_public
|
||||||
|
label: null
|
||||||
|
module: workflow
|
||||||
|
from_sid: confidentialite_public
|
||||||
|
to_sid: confidentialite_public
|
||||||
|
roles: { }
|
|
@ -0,0 +1,16 @@
|
||||||
|
uuid: 03cc8dff-7247-434e-b13f-fd07e5e352ff
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: confidentialite
|
||||||
|
label: Confidentialité
|
||||||
|
module: workflow
|
||||||
|
options:
|
||||||
|
name_as_title: 1
|
||||||
|
fieldset: 0
|
||||||
|
options: radios
|
||||||
|
schedule_enable: false
|
||||||
|
schedule_timezone: 0
|
||||||
|
always_update_entity: 0
|
||||||
|
comment_log_node: 0
|
||||||
|
watchdog_log: 1
|
|
@ -0,0 +1,99 @@
|
||||||
|
confidentialite_prive:
|
||||||
|
workflow_author:
|
||||||
|
grant_view: true
|
||||||
|
grant_update: true
|
||||||
|
grant_delete: true
|
||||||
|
anonymous:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
authenticated:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
admin:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
root:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
user:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
group_admin:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
group_member:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
confidentialite_interne:
|
||||||
|
workflow_author:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: true
|
||||||
|
grant_delete: true
|
||||||
|
anonymous:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
authenticated:
|
||||||
|
grant_view: true
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
admin:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
root:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
user:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
group_admin:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
group_member:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
confidentialite_public:
|
||||||
|
workflow_author:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: true
|
||||||
|
grant_delete: true
|
||||||
|
anonymous:
|
||||||
|
grant_view: true
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
authenticated:
|
||||||
|
grant_view: true
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
admin:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
root:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
user:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
group_admin:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
||||||
|
group_member:
|
||||||
|
grant_view: 0
|
||||||
|
grant_update: 0
|
||||||
|
grant_delete: 0
|
|
@ -0,0 +1,4 @@
|
||||||
|
_core:
|
||||||
|
default_config_hash: 3ETcNoKFd7BS1XpRDb7DnLCLSImcSqLv0rEQ0VJhE-E
|
||||||
|
langcode: fr
|
||||||
|
workflow_access_priority: 0
|
|
@ -12,7 +12,8 @@ type Concernement implements NodeInterface {
|
||||||
title: String!
|
title: String!
|
||||||
path: String!
|
path: String!
|
||||||
author: String
|
author: String
|
||||||
texte: String
|
description: String
|
||||||
|
caillou: String
|
||||||
recit: Filefield
|
recit: Filefield
|
||||||
entites: [Entiteintegre]
|
entites: [Entiteintegre]
|
||||||
}
|
}
|
||||||
|
@ -31,10 +32,22 @@ type Entite implements NodeInterface {
|
||||||
title: String!
|
title: String!
|
||||||
path: String!
|
path: String!
|
||||||
author: String
|
author: String
|
||||||
texte: String
|
action: String
|
||||||
|
menacemaintien: String
|
||||||
|
superposition: [Entite]
|
||||||
|
proximite: [Entite]
|
||||||
|
agissante: Boolean
|
||||||
|
sources: [Source]
|
||||||
|
}
|
||||||
|
|
||||||
|
type Source {
|
||||||
|
audios: Filefield
|
||||||
|
date: Date
|
||||||
|
documents: [Filefield]
|
||||||
|
description: String
|
||||||
images: [Image]
|
images: [Image]
|
||||||
fichiers: [Filefield]
|
|
||||||
liens: [Link]
|
liens: [Link]
|
||||||
|
videos: [VideoLink]
|
||||||
}
|
}
|
||||||
|
|
||||||
type Static implements NodeInterface {
|
type Static implements NodeInterface {
|
||||||
|
@ -134,3 +147,14 @@ type Date {
|
||||||
start: String
|
start: String
|
||||||
end: String
|
end: String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type EntityDefinition {
|
||||||
|
fields: [FieldDef]
|
||||||
|
}
|
||||||
|
|
||||||
|
type FieldDef {
|
||||||
|
field_name: String
|
||||||
|
type: String
|
||||||
|
label: String
|
||||||
|
description: String
|
||||||
|
}
|
|
@ -54,3 +54,7 @@ extend type Query {
|
||||||
extend type Query {
|
extend type Query {
|
||||||
group(id: Int!): Group
|
group(id: Int!): Group
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extend type Query {
|
||||||
|
entitydef(type: String, bundle: String): EntityDefinition
|
||||||
|
}
|
||||||
|
|
|
@ -8,6 +8,7 @@ use Drupal\graphql\GraphQL\Response\ResponseInterface;
|
||||||
use Drupal\graphql\Plugin\GraphQL\SchemaExtension\SdlSchemaExtensionPluginBase;
|
use Drupal\graphql\Plugin\GraphQL\SchemaExtension\SdlSchemaExtensionPluginBase;
|
||||||
use Drupal\materio_graphql\GraphQL\Response\MaterioResponse;
|
use Drupal\materio_graphql\GraphQL\Response\MaterioResponse;
|
||||||
use Drupal\Core\Url;
|
use Drupal\Core\Url;
|
||||||
|
use Drupal\Node\Entity\NodeType;
|
||||||
|
|
||||||
use GraphQL\Error\Error;
|
use GraphQL\Error\Error;
|
||||||
|
|
||||||
|
@ -35,6 +36,8 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase {
|
||||||
//
|
//
|
||||||
$this->addEntites($registry, $builder);
|
$this->addEntites($registry, $builder);
|
||||||
//
|
//
|
||||||
|
$this->addSource($registry, $builder);
|
||||||
|
//
|
||||||
$this->addStatic($registry, $builder);
|
$this->addStatic($registry, $builder);
|
||||||
//
|
//
|
||||||
$this->addGroup($registry, $builder);
|
$this->addGroup($registry, $builder);
|
||||||
|
@ -55,6 +58,9 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase {
|
||||||
//
|
//
|
||||||
$this->addLink($registry, $builder);
|
$this->addLink($registry, $builder);
|
||||||
|
|
||||||
|
$this->addEntityDefinition($registry, $builder);
|
||||||
|
$this->addFieldDef($registry, $builder);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ___ _
|
// ___ _
|
||||||
|
@ -162,11 +168,18 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase {
|
||||||
->map('entity', $builder->fromParent())
|
->map('entity', $builder->fromParent())
|
||||||
));
|
));
|
||||||
|
|
||||||
$registry->addFieldResolver('Concernement', 'texte',
|
$registry->addFieldResolver('Concernement', 'description',
|
||||||
$builder->produce('property_path')
|
$builder->produce('property_path')
|
||||||
->map('type', $builder->fromValue('entity:node'))
|
->map('type', $builder->fromValue('entity:node'))
|
||||||
->map('value', $builder->fromParent())
|
->map('value', $builder->fromParent())
|
||||||
->map('path', $builder->fromValue('body.value'))
|
->map('path', $builder->fromValue('field_description.value'))
|
||||||
|
);
|
||||||
|
|
||||||
|
$registry->addFieldResolver('Concernement', 'caillou',
|
||||||
|
$builder->produce('property_path')
|
||||||
|
->map('type', $builder->fromValue('entity:node'))
|
||||||
|
->map('value', $builder->fromParent())
|
||||||
|
->map('path', $builder->fromValue('field_caillou.value'))
|
||||||
);
|
);
|
||||||
|
|
||||||
$registry->addFieldResolver('Concernement', 'author',
|
$registry->addFieldResolver('Concernement', 'author',
|
||||||
|
@ -248,7 +261,6 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase {
|
||||||
// | _| | '_ \| __| | __/ _ \/ __|
|
// | _| | '_ \| __| | __/ _ \/ __|
|
||||||
// | |___| | | | |_| | || __/\__ \
|
// | |___| | | | |_| | || __/\__ \
|
||||||
// |_____|_| |_|\__|_|\__\___||___/
|
// |_____|_| |_|\__|_|\__\___||___/
|
||||||
|
|
||||||
protected function addEntites(ResolverRegistryInterface $registry, ResolverBuilder $builder){
|
protected function addEntites(ResolverRegistryInterface $registry, ResolverBuilder $builder){
|
||||||
$registry->addFieldResolver('Query', 'allentites',
|
$registry->addFieldResolver('Query', 'allentites',
|
||||||
$builder->compose(
|
$builder->compose(
|
||||||
|
@ -319,11 +331,41 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase {
|
||||||
->map('entity', $builder->fromParent())
|
->map('entity', $builder->fromParent())
|
||||||
));
|
));
|
||||||
|
|
||||||
$registry->addFieldResolver('Entite', 'texte',
|
// superposition: [Entite]
|
||||||
|
$registry->addFieldResolver('Entite', 'superposition',
|
||||||
|
$builder->produce('entity_reference')
|
||||||
|
->map('entity', $builder->fromParent())
|
||||||
|
->map('field', $builder->fromValue('field_superposition'))
|
||||||
|
);
|
||||||
|
|
||||||
|
// proximite: [Entite]
|
||||||
|
$registry->addFieldResolver('Entite', 'proximite',
|
||||||
|
$builder->produce('entity_reference')
|
||||||
|
->map('entity', $builder->fromParent())
|
||||||
|
->map('field', $builder->fromValue('field_proximite'))
|
||||||
|
);
|
||||||
|
|
||||||
|
// agissante: Boolean
|
||||||
|
$registry->addFieldResolver('Entite', 'agissante',
|
||||||
$builder->produce('property_path')
|
$builder->produce('property_path')
|
||||||
->map('type', $builder->fromValue('entity:node'))
|
->map('type', $builder->fromValue('entity:node'))
|
||||||
->map('value', $builder->fromParent())
|
->map('value', $builder->fromParent())
|
||||||
->map('path', $builder->fromValue('body.value'))
|
->map('path', $builder->fromValue('field_entite_agissante.value'))
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
$registry->addFieldResolver('Entite', 'action',
|
||||||
|
$builder->produce('property_path')
|
||||||
|
->map('type', $builder->fromValue('entity:node'))
|
||||||
|
->map('value', $builder->fromParent())
|
||||||
|
->map('path', $builder->fromValue('field_action.value'))
|
||||||
|
);
|
||||||
|
|
||||||
|
$registry->addFieldResolver('Entite', 'menacemaintien',
|
||||||
|
$builder->produce('property_path')
|
||||||
|
->map('type', $builder->fromValue('entity:node'))
|
||||||
|
->map('value', $builder->fromParent())
|
||||||
|
->map('path', $builder->fromValue('field_menace_maintien.value'))
|
||||||
);
|
);
|
||||||
|
|
||||||
$registry->addFieldResolver('Entite', 'author',
|
$registry->addFieldResolver('Entite', 'author',
|
||||||
|
@ -334,34 +376,73 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase {
|
||||||
->map('entity', $builder->fromParent())
|
->map('entity', $builder->fromParent())
|
||||||
));
|
));
|
||||||
|
|
||||||
$registry->addFieldResolver('Entite', 'images',
|
|
||||||
|
$registry->addFieldResolver('Entite', 'sources',
|
||||||
|
$builder->produce('entity_reference_revisions')
|
||||||
|
->map('entity', $builder->fromParent())
|
||||||
|
->map('field', $builder->fromValue('field_sources'))
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// ____
|
||||||
|
// / ___| ___ _ _ _ __ ___ ___
|
||||||
|
// \___ \ / _ \| | | | '__/ __/ _ \
|
||||||
|
// ___) | (_) | |_| | | | (_| __/
|
||||||
|
// |____/ \___/ \__,_|_| \___\___|
|
||||||
|
protected function addSource(ResolverRegistryInterface $registry, ResolverBuilder $builder) {
|
||||||
|
|
||||||
|
|
||||||
|
$registry->addFieldResolver('Source', 'description',
|
||||||
|
$builder->produce('property_path')
|
||||||
|
->map('type', $builder->fromValue('entity:paragraph'))
|
||||||
|
->map('value', $builder->fromParent())
|
||||||
|
->map('path', $builder->fromValue('field_description.value'))
|
||||||
|
);
|
||||||
|
|
||||||
|
$registry->addFieldResolver('Source', 'images',
|
||||||
$builder->produce('entity_reference')
|
$builder->produce('entity_reference')
|
||||||
->map('entity', $builder->fromParent())
|
->map('entity', $builder->fromParent())
|
||||||
->map('field', $builder->fromValue('field_images'))
|
->map('field', $builder->fromValue('field_images'))
|
||||||
);
|
);
|
||||||
|
|
||||||
$registry->addFieldResolver('Entite', 'videos',
|
$registry->addFieldResolver('Source', 'videos',
|
||||||
$builder->produce('property_path')
|
$builder->produce('property_path')
|
||||||
->map('type', $builder->fromValue('entity:node'))
|
->map('type', $builder->fromValue('entity:paragraph'))
|
||||||
->map('value', $builder->fromParent())
|
->map('value', $builder->fromParent())
|
||||||
->map('path', $builder->fromValue('field_videos'))
|
->map('path', $builder->fromValue('field_videos'))
|
||||||
);
|
);
|
||||||
|
|
||||||
$registry->addFieldResolver('Entite', 'fichiers',
|
$registry->addFieldResolver('Source', 'documents',
|
||||||
$builder->produce('entity_reference')
|
$builder->produce('property_path')
|
||||||
->map('entity', $builder->fromParent())
|
->map('type', $builder->fromValue('entity:paragraph'))
|
||||||
->map('field', $builder->fromValue('field_fichiers'))
|
->map('value', $builder->fromParent())
|
||||||
|
->map('path', $builder->fromValue('field_documents'))
|
||||||
);
|
);
|
||||||
|
|
||||||
$registry->addFieldResolver('Entite', 'liens',
|
$registry->addFieldResolver('Source', 'liens',
|
||||||
$builder->produce('property_path')
|
$builder->produce('property_path')
|
||||||
->map('type', $builder->fromValue('entity:node'))
|
->map('type', $builder->fromValue('entity:paragraph'))
|
||||||
->map('value', $builder->fromParent())
|
->map('value', $builder->fromParent())
|
||||||
->map('path', $builder->fromValue('field_liens'))
|
->map('path', $builder->fromValue('field_liens'))
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
$registry->addFieldResolver('Source', 'date',
|
||||||
|
$builder->produce('property_path')
|
||||||
|
->map('type', $builder->fromValue('entity:paragraph'))
|
||||||
|
->map('value', $builder->fromParent())
|
||||||
|
->map('path', $builder->fromValue('field_date'))
|
||||||
|
);
|
||||||
|
|
||||||
|
$registry->addFieldResolver('Source', 'audios',
|
||||||
|
$builder->produce('property_path')
|
||||||
|
->map('type', $builder->fromValue('entity:paragraph'))
|
||||||
|
->map('value', $builder->fromParent())
|
||||||
|
->map('path', $builder->fromValue('field_audio'))
|
||||||
|
);
|
||||||
|
|
||||||
|
}
|
||||||
// ___ _ _ _
|
// ___ _ _ _
|
||||||
// / __| |_ __ _| |_(_)__ ___
|
// / __| |_ __ _| |_(_)__ ___
|
||||||
// \__ \ _/ _` | _| / _(_-<
|
// \__ \ _/ _` | _| / _(_-<
|
||||||
|
@ -673,13 +754,25 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase {
|
||||||
|
|
||||||
$registry->addFieldResolver('Filefield', 'description',
|
$registry->addFieldResolver('Filefield', 'description',
|
||||||
$builder->callback(function ($parent, $args) {
|
$builder->callback(function ($parent, $args) {
|
||||||
|
if (is_array($parent) && isset($parent['description'])) {
|
||||||
return $parent['description'];
|
return $parent['description'];
|
||||||
|
} else if (is_array($parent) && isset($parent[0]['description'])) {
|
||||||
|
return $parent[0]['description'];
|
||||||
|
} else{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
$registry->addFieldResolver('Filefield', 'file',
|
$registry->addFieldResolver('Filefield', 'file',
|
||||||
$builder->callback(function ($parent, $args) {
|
$builder->callback(function ($parent, $args) {
|
||||||
|
if (is_array($parent) && isset($parent['target_id'])) {
|
||||||
return \Drupal\file\Entity\File::load($parent['target_id']);
|
return \Drupal\file\Entity\File::load($parent['target_id']);
|
||||||
|
} else if (is_array($parent) && isset($parent[0]['target_id'])) {
|
||||||
|
return \Drupal\file\Entity\File::load($parent[0]['target_id']);
|
||||||
|
} else{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -873,13 +966,102 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase {
|
||||||
protected function addLink(ResolverRegistryInterface $registry, ResolverBuilder $builder) {
|
protected function addLink(ResolverRegistryInterface $registry, ResolverBuilder $builder) {
|
||||||
$registry->addFieldResolver('Link', 'url',
|
$registry->addFieldResolver('Link', 'url',
|
||||||
$builder->callback(function ($parent, $args) {
|
$builder->callback(function ($parent, $args) {
|
||||||
return isset($parent[0]) ? $parent[0]['uri'] : null;
|
// return isset($parent[0]) ? $parent[0]['uri'] : null;
|
||||||
|
return $parent['uri'];
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
$registry->addFieldResolver('Link', 'title',
|
$registry->addFieldResolver('Link', 'title',
|
||||||
$builder->callback(function ($parent, $args) {
|
$builder->callback(function ($parent, $args) {
|
||||||
return isset($parent[0]) ? $parent[0]['title'] : null;
|
// return isset($parent[0]) ? $parent[0]['title'] : null;
|
||||||
|
return $parent['title'];
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// _____ _ _ _ ____ __ _ _ _ _
|
||||||
|
// | ____|_ __ | |_(_) |_ _ _ | _ \ ___ / _(_)_ __ (_) |_(_) ___ _ __
|
||||||
|
// | _| | '_ \| __| | __| | | | | | | |/ _ \ |_| | '_ \| | __| |/ _ \| '_ \
|
||||||
|
// | |___| | | | |_| | |_| |_| | | |_| | __/ _| | | | | | |_| | (_) | | | |
|
||||||
|
// |_____|_| |_|\__|_|\__|\__, | |____/ \___|_| |_|_| |_|_|\__|_|\___/|_| |_|
|
||||||
|
// |___/
|
||||||
|
protected function addEntityDefinition(ResolverRegistryInterface $registry, ResolverBuilder $builder) {
|
||||||
|
$registry->addFieldResolver('Query', 'entitydef',
|
||||||
|
$builder->compose(
|
||||||
|
$builder->callback(function($parent, $arg){
|
||||||
|
// $entity_object = NodeType::load($builder->fromArgument('bundle'));
|
||||||
|
$field_defintions = \Drupal::service('entity_field.manager')->getFieldDefinitions($arg['type'], $arg['bundle']);
|
||||||
|
return $field_defintions;
|
||||||
|
})
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
$registry->addFieldResolver('EntityDefinition', 'fields',
|
||||||
|
$builder->callback(function ($parent, $args) {
|
||||||
|
return $parent;
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// _____ _ _ _ ____ __
|
||||||
|
// | ___(_) ___| | __| | | _ \ ___ / _|
|
||||||
|
// | |_ | |/ _ \ |/ _` | | | | |/ _ \ |_
|
||||||
|
// | _| | | __/ | (_| | | |_| | __/ _|
|
||||||
|
// |_| |_|\___|_|\__,_| |____/ \___|_|
|
||||||
|
protected function addFieldDef(ResolverRegistryInterface $registry, ResolverBuilder $builder) {
|
||||||
|
|
||||||
|
$registry->addFieldResolver('FieldDef', 'type',
|
||||||
|
$builder->callback(function ($parent, $args) {
|
||||||
|
return $parent->getType();
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
||||||
|
$registry->addFieldResolver('FieldDef', 'field_name',
|
||||||
|
$builder->callback(function ($parent, $args) {
|
||||||
|
return $parent->getName();
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
||||||
|
$registry->addFieldResolver('FieldDef', 'label',
|
||||||
|
$builder->callback(function ($parent, $args) {
|
||||||
|
$label = $parent->getLabel();
|
||||||
|
$vartype = gettype($label);
|
||||||
|
switch ($vartype) {
|
||||||
|
case 'string':
|
||||||
|
return $label;
|
||||||
|
break;
|
||||||
|
case 'object':
|
||||||
|
switch (get_class($label)) {
|
||||||
|
case 'TranslatableMarkup':
|
||||||
|
return $label->render();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
||||||
|
$registry->addFieldResolver('FieldDef', 'description',
|
||||||
|
$builder->callback(function ($parent, $args) {
|
||||||
|
$description = $parent->getDescription();
|
||||||
|
$vartype = gettype($description);
|
||||||
|
switch ($vartype) {
|
||||||
|
case 'string':
|
||||||
|
return $description;
|
||||||
|
break;
|
||||||
|
case 'object':
|
||||||
|
switch (get_class($description)) {
|
||||||
|
case 'TranslatableMarkup':
|
||||||
|
return $description->render();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
})
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -239,6 +239,11 @@
|
||||||
padding:0.5em;
|
padding:0.5em;
|
||||||
border: 1px solid #bbb;
|
border: 1px solid #bbb;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
transition: all 2s ease-in-out;
|
||||||
|
}
|
||||||
|
#boussole-layout .form-item[data-drupal-selector="edit-field-entite"] table.field-multiple-table>tbody>tr>td:not(.field-multiple-drag)>div.entite-over{
|
||||||
|
border-color: #f00;
|
||||||
|
transition: all 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
#boussole-layout .form-item[data-drupal-selector="edit-field-entite"] table.field-multiple-table>tbody>tr>td:not(.field-multiple-drag) > div .horizontal-tabs-panes>details>.seven-details__wrapper{
|
#boussole-layout .form-item[data-drupal-selector="edit-field-entite"] table.field-multiple-table>tbody>tr>td:not(.field-multiple-drag) > div .horizontal-tabs-panes>details>.seven-details__wrapper{
|
||||||
|
@ -355,6 +360,7 @@ div.field--name-field-menace-maintien label{
|
||||||
/* width:100%; */
|
/* width:100%; */
|
||||||
max-height: calc(100vh - 150px);
|
max-height: calc(100vh - 150px);
|
||||||
position: relative;
|
position: relative;
|
||||||
|
padding: 8%;
|
||||||
}
|
}
|
||||||
#boussole-layout .boussole-wrapper .boussole .entity{
|
#boussole-layout .boussole-wrapper .boussole .entity{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -364,10 +370,17 @@ div.field--name-field-menace-maintien label{
|
||||||
transform: translate(-5px, -5px);
|
transform: translate(-5px, -5px);
|
||||||
cursor:move;
|
cursor:move;
|
||||||
}
|
}
|
||||||
|
#boussole-layout .boussole-wrapper .boussole .entity.entite-over{
|
||||||
|
background-color: #f00;
|
||||||
|
}
|
||||||
#boussole-layout .boussole-wrapper .boussole .entity.ajax-new{
|
#boussole-layout .boussole-wrapper .boussole .entity.ajax-new{
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
}
|
}
|
||||||
|
#boussole-layout .boussole-wrapper .boussole .entity.ajax-new.entite-over{
|
||||||
|
border: 1px solid red;
|
||||||
|
}
|
||||||
|
|
||||||
#boussole-layout .boussole-wrapper .boussole .entity.hide{
|
#boussole-layout .boussole-wrapper .boussole .entity.hide{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
|
@ -1,11 +1,12 @@
|
||||||
(function ($, Drupal, once) {
|
(function ($, Drupal, once) {
|
||||||
var _boussole;
|
var _boussole;
|
||||||
|
// behaviour is attached by preporcess ouatminimal_preprocess_field_multiple_value_form__field_entite__node_concernement() on ouatminimal.theme file
|
||||||
Drupal.behaviors.boussole = {
|
Drupal.behaviors.boussole = {
|
||||||
attach: function (context, settings) {
|
attach: function (context, settings) {
|
||||||
console.log("Drupal Boussole behavior", context);
|
console.log("Drupal Boussole behavior", context);
|
||||||
let $boussole_wrapper = document.querySelector('#boussole-layout');
|
let $boussole_wrapper = document.querySelector('#boussole-layout');
|
||||||
once('boussole-class-behaviour', '#boussole-layout', context).forEach(element => {
|
once('boussole-class-behaviour', '#boussole-layout', context).forEach(element => {
|
||||||
let tabs =
|
// let tabs =
|
||||||
// div.field-group-tabs-wrapper
|
// div.field-group-tabs-wrapper
|
||||||
// input.horizontal-tabs-active-tab
|
// input.horizontal-tabs-active-tab
|
||||||
_boussole = new Boussole($boussole_wrapper);
|
_boussole = new Boussole($boussole_wrapper);
|
||||||
|
@ -32,6 +33,7 @@
|
||||||
let $p = $entity.querySelector('.paragraphs-subform .field--name-field-prise input');
|
let $p = $entity.querySelector('.paragraphs-subform .field--name-field-prise input');
|
||||||
let $mm = $entity.querySelector('.paragraphs-subform .field--name-field-menace-maintien-degres input');
|
let $mm = $entity.querySelector('.paragraphs-subform .field--name-field-menace-maintien-degres input');
|
||||||
let e = {
|
let e = {
|
||||||
|
form: $form,
|
||||||
wrapper:{
|
wrapper:{
|
||||||
$dom: $entity,
|
$dom: $entity,
|
||||||
id: id
|
id: id
|
||||||
|
@ -185,7 +187,8 @@
|
||||||
this.$container.append(this.$e);
|
this.$container.append(this.$e);
|
||||||
console.log(this.$e);
|
console.log(this.$e);
|
||||||
this.updatePos();
|
this.updatePos();
|
||||||
this.initDraggable()
|
this.initOverEvents();
|
||||||
|
this.initDraggable();
|
||||||
}
|
}
|
||||||
|
|
||||||
updateDomElemt(){
|
updateDomElemt(){
|
||||||
|
@ -199,6 +202,32 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
initOverEvents(){
|
||||||
|
// on mouseover point on boussole
|
||||||
|
this.$e.addEventListener('mouseenter', (event) => {
|
||||||
|
console.log('enter boussole entité', this.values);
|
||||||
|
this.values.wrapper.$dom.classList.add('entite-over');
|
||||||
|
// scroll to form item
|
||||||
|
var $tr = this.values.wrapper.$dom.closest("tr.draggable");
|
||||||
|
var top = $tr.offsetTop;
|
||||||
|
// console.log('offsetTop', top, $tr);
|
||||||
|
this.values.form.scrollTo({top: top, left: 0, behaviour: "smooth"});
|
||||||
|
});
|
||||||
|
this.$e.addEventListener('mouseleave', (event) => {
|
||||||
|
// console.log('leave boussole entité', this.values);
|
||||||
|
this.values.wrapper.$dom.classList.remove('entite-over');
|
||||||
|
});
|
||||||
|
|
||||||
|
// on mouseover formitem on drupal form
|
||||||
|
this.values.wrapper.$dom.addEventListener('mouseenter', (event) => {
|
||||||
|
this.$e.classList.add('entite-over');
|
||||||
|
})
|
||||||
|
this.values.wrapper.$dom.addEventListener('mouseleave', (event) => {
|
||||||
|
this.$e.classList.remove('entite-over');
|
||||||
|
})
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
initDraggable(){
|
initDraggable(){
|
||||||
this.$e.setAttribute('draggable', true);
|
this.$e.setAttribute('draggable', true);
|
||||||
this.$e.addEventListener('dragstart', event => {
|
this.$e.addEventListener('dragstart', event => {
|
||||||
|
@ -247,8 +276,8 @@
|
||||||
this.values.mm.value = this.values.mm.$dom.value = a;
|
this.values.mm.value = this.values.mm.$dom.value = a;
|
||||||
|
|
||||||
// https://stackoverflow.com/questions/5731863/mapping-a-numeric-range-onto-another
|
// https://stackoverflow.com/questions/5731863/mapping-a-numeric-range-onto-another
|
||||||
// from range 0 -> rayon_de_la_boussole to range 0 -> 100
|
// from range 0 -> rayon_de_la_boussole moins 8% de padding |to| range 0 -> 100
|
||||||
let r_max = this.sceneSize.w/2;
|
let r_max = this.sceneSize.w/2 * 0.92;
|
||||||
let r_slope = (100 - 0) / (r_max - 0);
|
let r_slope = (100 - 0) / (r_max - 0);
|
||||||
this.values.p.value = this.values.p.$dom.value = 100 - parseFloat(0 + r_slope * (r - 0)).toFixed(2);
|
this.values.p.value = this.values.p.$dom.value = 100 - parseFloat(0 + r_slope * (r - 0)).toFixed(2);
|
||||||
// this.values.p.$dom.value = this.values.p.value;
|
// this.values.p.$dom.value = this.values.p.value;
|
||||||
|
@ -290,8 +319,8 @@
|
||||||
// from range 0 -> 100 to range 0 -> diagonale de la scene
|
// from range 0 -> 100 to range 0 -> diagonale de la scene
|
||||||
// let diagonale = Math.sqrt(Math.pow(this.sceneSize.w, 2) + Math.pow(this.sceneSize.h, 2))/2;
|
// let diagonale = Math.sqrt(Math.pow(this.sceneSize.w, 2) + Math.pow(this.sceneSize.h, 2))/2;
|
||||||
// let r_max = diagonale;
|
// let r_max = diagonale;
|
||||||
// actualy we don't use diagonale, we stay on the circle
|
// actualy we don't use diagonale, we stay on the circle less 8% padding to get 100 on the external circle
|
||||||
let r_max = this.sceneSize.w/2;
|
let r_max = this.sceneSize.w/2 * 0.92;
|
||||||
let r_slope = (r_max - 0) / (100 - 0)
|
let r_slope = (r_max - 0) / (100 - 0)
|
||||||
// we inverse p as the more p you have the closest you are from the center
|
// we inverse p as the more p you have the closest you are from the center
|
||||||
let r = parseInt(0 + r_slope * ((100 - this.values.p.value) - 0));
|
let r = parseInt(0 + r_slope * ((100 - this.values.p.value) - 0));
|
||||||
|
@ -315,17 +344,4 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
})(jQuery, Drupal, once);
|
})(jQuery, Drupal, once);
|
|
@ -149,6 +149,18 @@ function ouatminimal_preprocess_input(&$variables) {
|
||||||
if (preg_match('/^ief-field_entite-\d+-subform-field_entite-form-add$/', $name)) {
|
if (preg_match('/^ief-field_entite-\d+-subform-field_entite-form-add$/', $name)) {
|
||||||
$element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Editer l'entité";
|
$element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Editer l'entité";
|
||||||
}
|
}
|
||||||
|
// // rename entité reference in paragraphe "Ajouter un node existant" to "ajouyer entite existante"
|
||||||
|
// // "ief-field_entite-0-subform-field_entite-form-add"
|
||||||
|
// if (preg_match('/^ief-field_entite-\d+-subform-field_entite-form-add-existing$/', $name)) {
|
||||||
|
// $element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Ajouter une entité éxistante";
|
||||||
|
// }
|
||||||
|
|
||||||
|
// // rename entité reference in paragraphe "Ajout de node" to "Ajouter"
|
||||||
|
// // "ief-reference-submit-field_entite-7-subform-field_entite-form"
|
||||||
|
// if (preg_match('/^ief-reference-submit-field_entite-\d+-subform-field_entite-form$/', $name)) {
|
||||||
|
// $element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Ajouter";
|
||||||
|
// }
|
||||||
|
|
||||||
// rename remove (paragraphe) to "supprimer"
|
// rename remove (paragraphe) to "supprimer"
|
||||||
if (preg_match('/field_entite_\d+_remove/', $name)) {
|
if (preg_match('/field_entite_\d+_remove/', $name)) {
|
||||||
$element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Supprimer";
|
$element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Supprimer";
|
||||||
|
|
Loading…
Reference in New Issue