first batch of content architecture and admin ui
This commit is contained in:
parent
268fbb9ed2
commit
0d7925886a
|
@ -16,9 +16,11 @@
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"composer/installers": "^1.9",
|
"composer/installers": "^1.9",
|
||||||
|
"drupal/amswap": "^3.1",
|
||||||
"drupal/core-composer-scaffold": "^9.4",
|
"drupal/core-composer-scaffold": "^9.4",
|
||||||
"drupal/core-project-message": "^9.4",
|
"drupal/core-project-message": "^9.4",
|
||||||
"drupal/core-recommended": "^9.4",
|
"drupal/core-recommended": "^9.4",
|
||||||
|
"drupal/paragraphs": "^1.15",
|
||||||
"wikimedia/composer-merge-plugin": "^2.0"
|
"wikimedia/composer-merge-plugin": "^2.0"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
|
@ -101,6 +103,11 @@
|
||||||
"recurse": true,
|
"recurse": true,
|
||||||
"replace": false,
|
"replace": false,
|
||||||
"merge-extra": true
|
"merge-extra": true
|
||||||
}
|
},
|
||||||
|
"patches": {
|
||||||
|
"drupal/paragraphs": {
|
||||||
|
"Skip saving empty paragraphs for certain types https://www.drupal.org/project/paragraphs/issues/2877695" : "https://www.drupal.org/files/issues/2021-03-31/2877695-35.patch"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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": "98071262a5a5f67e96f60ce85a8d7912",
|
"content-hash": "aea0592ad6ad8016ce9acf94c357afbd",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "alchemy/zippy",
|
"name": "alchemy/zippy",
|
||||||
|
@ -2403,6 +2403,54 @@
|
||||||
"source": "https://git.drupalcode.org/project/advanced_text_formatter"
|
"source": "https://git.drupalcode.org/project/advanced_text_formatter"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "drupal/amswap",
|
||||||
|
"version": "3.1.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.drupalcode.org/project/amswap.git",
|
||||||
|
"reference": "3.1.0"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://ftp.drupal.org/files/projects/amswap-3.1.0.zip",
|
||||||
|
"reference": "3.1.0",
|
||||||
|
"shasum": "71c6a6e9c7187d70a399494d30d3d9228dcabb4f"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"drupal/core": "^8 || ^9"
|
||||||
|
},
|
||||||
|
"type": "drupal-module",
|
||||||
|
"extra": {
|
||||||
|
"drupal": {
|
||||||
|
"version": "3.1.0",
|
||||||
|
"datestamp": "1629990291",
|
||||||
|
"security-coverage": {
|
||||||
|
"status": "not-covered",
|
||||||
|
"message": "Project has not opted into security advisory coverage!"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packages.drupal.org/8/downloads",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0-or-later"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "droces",
|
||||||
|
"homepage": "https://www.drupal.org/user/2996575"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Allows the administration menu to be customised per user role.",
|
||||||
|
"homepage": "https://www.drupal.org/project/amswap",
|
||||||
|
"keywords": [
|
||||||
|
"Drupal"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"source": "http://cgit.drupalcode.org/amswap",
|
||||||
|
"issues": "https://www.drupal.org/project/issues/amswap"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "drupal/audiofield",
|
"name": "drupal/audiofield",
|
||||||
"version": "1.11.0",
|
"version": "1.11.0",
|
||||||
|
@ -4846,6 +4894,70 @@
|
||||||
"source": "https://git.drupalcode.org/project/entity_clone"
|
"source": "https://git.drupalcode.org/project/entity_clone"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "drupal/entity_reference_revisions",
|
||||||
|
"version": "1.10.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.drupalcode.org/project/entity_reference_revisions.git",
|
||||||
|
"reference": "8.x-1.10"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://ftp.drupal.org/files/projects/entity_reference_revisions-8.x-1.10.zip",
|
||||||
|
"reference": "8.x-1.10",
|
||||||
|
"shasum": "edd23b91c4a34db65ea22c4db54b7458edc7513b"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"drupal/core": "^9 || ^10"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"drupal/diff": "1.x-dev"
|
||||||
|
},
|
||||||
|
"type": "drupal-module",
|
||||||
|
"extra": {
|
||||||
|
"drupal": {
|
||||||
|
"version": "8.x-1.10",
|
||||||
|
"datestamp": "1660664712",
|
||||||
|
"security-coverage": {
|
||||||
|
"status": "covered",
|
||||||
|
"message": "Covered by Drupal's security advisory policy"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"drush": {
|
||||||
|
"services": {
|
||||||
|
"drush.services.yml": "^9 || ^10 || ^11"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packages.drupal.org/8/downloads",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0-or-later"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Berdir",
|
||||||
|
"homepage": "https://www.drupal.org/user/214652"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Frans",
|
||||||
|
"homepage": "https://www.drupal.org/user/514222"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jeroen.b",
|
||||||
|
"homepage": "https://www.drupal.org/user/1853532"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "miro_dietiker",
|
||||||
|
"homepage": "https://www.drupal.org/user/227761"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Entity Reference Revisions",
|
||||||
|
"homepage": "https://www.drupal.org/project/entity_reference_revisions",
|
||||||
|
"support": {
|
||||||
|
"source": "https://git.drupalcode.org/project/entity_reference_revisions"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "drupal/extlink",
|
"name": "drupal/extlink",
|
||||||
"version": "1.6.0",
|
"version": "1.6.0",
|
||||||
|
@ -6436,6 +6548,86 @@
|
||||||
"source": "https://git.drupalcode.org/project/pagerer"
|
"source": "https://git.drupalcode.org/project/pagerer"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "drupal/paragraphs",
|
||||||
|
"version": "1.15.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.drupalcode.org/project/paragraphs.git",
|
||||||
|
"reference": "8.x-1.15"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://ftp.drupal.org/files/projects/paragraphs-8.x-1.15.zip",
|
||||||
|
"reference": "8.x-1.15",
|
||||||
|
"shasum": "2ed2d3199553010fa1c500181bbebe676e9e60c1"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"drupal/core": "^9.3 || ^10",
|
||||||
|
"drupal/entity_reference_revisions": "~1.3"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"drupal/block_field": "1.x-dev",
|
||||||
|
"drupal/diff": "1.x-dev",
|
||||||
|
"drupal/entity_browser": "2.x-dev",
|
||||||
|
"drupal/entity_usage": "2.x-dev",
|
||||||
|
"drupal/field_group": "3.x-dev",
|
||||||
|
"drupal/inline_entity_form": "1.x-dev",
|
||||||
|
"drupal/paragraphs-paragraphs_library": "*",
|
||||||
|
"drupal/replicate": "1.x-dev",
|
||||||
|
"drupal/search_api": "1.x-dev",
|
||||||
|
"drupal/search_api_db": "*"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"drupal/entity_browser": "Recommended for an improved user experience when using the Paragraphs library module"
|
||||||
|
},
|
||||||
|
"type": "drupal-module",
|
||||||
|
"extra": {
|
||||||
|
"drupal": {
|
||||||
|
"version": "8.x-1.15",
|
||||||
|
"datestamp": "1661440897",
|
||||||
|
"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": "Berdir",
|
||||||
|
"homepage": "https://www.drupal.org/user/214652"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Frans",
|
||||||
|
"homepage": "https://www.drupal.org/user/514222"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jeroen.b",
|
||||||
|
"homepage": "https://www.drupal.org/user/1853532"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jstoller",
|
||||||
|
"homepage": "https://www.drupal.org/user/99012"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "miro_dietiker",
|
||||||
|
"homepage": "https://www.drupal.org/user/227761"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Primsi",
|
||||||
|
"homepage": "https://www.drupal.org/user/282629"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Enables the creation of Paragraphs entities.",
|
||||||
|
"homepage": "https://www.drupal.org/project/paragraphs",
|
||||||
|
"support": {
|
||||||
|
"source": "https://git.drupalcode.org/project/paragraphs"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "drupal/path_alias_xt",
|
"name": "drupal/path_alias_xt",
|
||||||
"version": "dev-1.x",
|
"version": "dev-1.x",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
_core:
|
_core:
|
||||||
default_config_hash: jvTSppzcgH5wnzBhX5xnAExcp2I1CzkQ_aky65XNfYI
|
default_config_hash: jvTSppzcgH5wnzBhX5xnAExcp2I1CzkQ_aky65XNfYI
|
||||||
langcode: fr
|
langcode: fr
|
||||||
menu_depth: 4
|
menu_depth: 5
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
_core:
|
||||||
|
default_config_hash: vaRIb4e_4378IzQXF4dy-aSEAZ4O3D9iC7LW89rHPSw
|
||||||
|
langcode: fr
|
||||||
|
role_menu_pairs:
|
||||||
|
-
|
||||||
|
role: admin
|
||||||
|
menu: administrator
|
|
@ -0,0 +1,22 @@
|
||||||
|
uuid: 7d9dc179-a37c-4b77-bcfc-8bc6e3341b7b
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- node.type.concernement
|
||||||
|
id: node.concernement.promote
|
||||||
|
field_name: promote
|
||||||
|
entity_type: node
|
||||||
|
bundle: concernement
|
||||||
|
label: 'Promu en page d''accueil'
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: true
|
||||||
|
default_value:
|
||||||
|
-
|
||||||
|
value: 0
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
on_label: Activé
|
||||||
|
off_label: Désactivé
|
||||||
|
field_type: boolean
|
|
@ -0,0 +1,18 @@
|
||||||
|
uuid: 15b59ea5-176b-499e-9399-7b9c6c290390
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- node.type.concernement
|
||||||
|
id: node.concernement.title
|
||||||
|
field_name: title
|
||||||
|
entity_type: node
|
||||||
|
bundle: concernement
|
||||||
|
label: Nom
|
||||||
|
description: ''
|
||||||
|
required: true
|
||||||
|
translatable: true
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: string
|
|
@ -0,0 +1,22 @@
|
||||||
|
uuid: 1a9c4b8e-878a-4e24-92cf-29bfcbc4ccb2
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- node.type.entite
|
||||||
|
id: node.entite.promote
|
||||||
|
field_name: promote
|
||||||
|
entity_type: node
|
||||||
|
bundle: entite
|
||||||
|
label: 'Promu en page d''accueil'
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: true
|
||||||
|
default_value:
|
||||||
|
-
|
||||||
|
value: 0
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
on_label: Activé
|
||||||
|
off_label: Désactivé
|
||||||
|
field_type: boolean
|
|
@ -0,0 +1,18 @@
|
||||||
|
uuid: 460a8530-8493-4663-8f5a-aa2cb247df91
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- node.type.entite
|
||||||
|
id: node.entite.title
|
||||||
|
field_name: title
|
||||||
|
entity_type: node
|
||||||
|
bundle: entite
|
||||||
|
label: Nom
|
||||||
|
description: ''
|
||||||
|
required: true
|
||||||
|
translatable: true
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: string
|
|
@ -0,0 +1,154 @@
|
||||||
|
uuid: 6a03647a-4c68-4cec-877d-38e20628529f
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.node.concernement.body
|
||||||
|
- field.field.node.concernement.field_entite
|
||||||
|
- node.type.concernement
|
||||||
|
module:
|
||||||
|
- field_group
|
||||||
|
- paragraphs
|
||||||
|
- text
|
||||||
|
third_party_settings:
|
||||||
|
field_group:
|
||||||
|
group_tabs:
|
||||||
|
children:
|
||||||
|
- group_contenu
|
||||||
|
- group_entites
|
||||||
|
label: Tabs
|
||||||
|
region: content
|
||||||
|
parent_name: ''
|
||||||
|
weight: 1
|
||||||
|
format_type: tabs
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: true
|
||||||
|
id: ''
|
||||||
|
direction: horizontal
|
||||||
|
width_breakpoint: 640
|
||||||
|
group_contenu:
|
||||||
|
children:
|
||||||
|
- body
|
||||||
|
label: Contenu
|
||||||
|
region: content
|
||||||
|
parent_name: group_tabs
|
||||||
|
weight: 12
|
||||||
|
format_type: tab
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: false
|
||||||
|
id: ''
|
||||||
|
formatter: open
|
||||||
|
description: ''
|
||||||
|
required_fields: true
|
||||||
|
group_entites:
|
||||||
|
children:
|
||||||
|
- field_entite
|
||||||
|
label: Entités
|
||||||
|
region: content
|
||||||
|
parent_name: group_tabs
|
||||||
|
weight: 13
|
||||||
|
format_type: tab
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: false
|
||||||
|
id: ''
|
||||||
|
formatter: closed
|
||||||
|
description: ''
|
||||||
|
required_fields: true
|
||||||
|
group_details:
|
||||||
|
children:
|
||||||
|
- langcode
|
||||||
|
- uid
|
||||||
|
- created
|
||||||
|
- status
|
||||||
|
label: Details
|
||||||
|
region: content
|
||||||
|
parent_name: ''
|
||||||
|
weight: 2
|
||||||
|
format_type: details_sidebar
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: true
|
||||||
|
id: ''
|
||||||
|
open: true
|
||||||
|
description: ''
|
||||||
|
required_fields: true
|
||||||
|
weight: -100
|
||||||
|
id: node.concernement.default
|
||||||
|
targetEntityType: node
|
||||||
|
bundle: concernement
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
body:
|
||||||
|
type: text_textarea_with_summary
|
||||||
|
weight: 10
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
rows: 9
|
||||||
|
summary_rows: 3
|
||||||
|
placeholder: ''
|
||||||
|
show_summary: false
|
||||||
|
third_party_settings: { }
|
||||||
|
created:
|
||||||
|
type: datetime_timestamp
|
||||||
|
weight: 5
|
||||||
|
region: content
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
field_entite:
|
||||||
|
type: paragraphs
|
||||||
|
weight: 11
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
title: Paragraphe
|
||||||
|
title_plural: Paragraphs
|
||||||
|
edit_mode: open
|
||||||
|
closed_mode: summary
|
||||||
|
autocollapse: none
|
||||||
|
closed_mode_threshold: 0
|
||||||
|
add_mode: dropdown
|
||||||
|
form_display_mode: default
|
||||||
|
default_paragraph_type: ''
|
||||||
|
features:
|
||||||
|
collapse_edit_all: collapse_edit_all
|
||||||
|
duplicate: duplicate
|
||||||
|
third_party_settings: { }
|
||||||
|
langcode:
|
||||||
|
type: language_select
|
||||||
|
weight: 3
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
include_locked: true
|
||||||
|
third_party_settings: { }
|
||||||
|
status:
|
||||||
|
type: boolean_checkbox
|
||||||
|
weight: 6
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
display_label: true
|
||||||
|
third_party_settings: { }
|
||||||
|
title:
|
||||||
|
type: string_textfield
|
||||||
|
weight: 0
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
uid:
|
||||||
|
type: entity_reference_autocomplete
|
||||||
|
weight: 4
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
match_limit: 10
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
hidden:
|
||||||
|
path: true
|
||||||
|
promote: true
|
||||||
|
sticky: true
|
||||||
|
url_redirects: true
|
|
@ -0,0 +1,164 @@
|
||||||
|
uuid: 06ee1c34-4808-41db-9a65-753b745cb8fc
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.node.entite.body
|
||||||
|
- field.field.node.entite.field_documents
|
||||||
|
- field.field.node.entite.field_images
|
||||||
|
- field.field.node.entite.field_videos
|
||||||
|
- image.style.thumbnail
|
||||||
|
- node.type.entite
|
||||||
|
module:
|
||||||
|
- field_group
|
||||||
|
- file
|
||||||
|
- image
|
||||||
|
- text
|
||||||
|
- video_embed_field
|
||||||
|
third_party_settings:
|
||||||
|
field_group:
|
||||||
|
group_tabs:
|
||||||
|
children:
|
||||||
|
- group_texte
|
||||||
|
- group_media
|
||||||
|
label: Tabs
|
||||||
|
region: content
|
||||||
|
parent_name: ''
|
||||||
|
weight: 1
|
||||||
|
format_type: tabs
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: true
|
||||||
|
id: ''
|
||||||
|
direction: horizontal
|
||||||
|
width_breakpoint: 640
|
||||||
|
group_media:
|
||||||
|
children:
|
||||||
|
- field_images
|
||||||
|
- field_videos
|
||||||
|
- field_documents
|
||||||
|
label: Media
|
||||||
|
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
|
||||||
|
group_texte:
|
||||||
|
children:
|
||||||
|
- body
|
||||||
|
label: Texte
|
||||||
|
region: content
|
||||||
|
parent_name: group_tabs
|
||||||
|
weight: 15
|
||||||
|
format_type: tab
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: true
|
||||||
|
id: ''
|
||||||
|
formatter: open
|
||||||
|
description: ''
|
||||||
|
required_fields: true
|
||||||
|
group_details:
|
||||||
|
children:
|
||||||
|
- langcode
|
||||||
|
- uid
|
||||||
|
- created
|
||||||
|
- status
|
||||||
|
label: Details
|
||||||
|
region: content
|
||||||
|
parent_name: ''
|
||||||
|
weight: 2
|
||||||
|
format_type: details_sidebar
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: true
|
||||||
|
id: ''
|
||||||
|
open: true
|
||||||
|
description: ''
|
||||||
|
required_fields: true
|
||||||
|
weight: -100
|
||||||
|
id: node.entite.default
|
||||||
|
targetEntityType: node
|
||||||
|
bundle: entite
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
body:
|
||||||
|
type: text_textarea_with_summary
|
||||||
|
weight: 10
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
rows: 9
|
||||||
|
summary_rows: 3
|
||||||
|
placeholder: ''
|
||||||
|
show_summary: false
|
||||||
|
third_party_settings: { }
|
||||||
|
created:
|
||||||
|
type: datetime_timestamp
|
||||||
|
weight: 5
|
||||||
|
region: content
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
field_documents:
|
||||||
|
type: file_generic
|
||||||
|
weight: 13
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
progress_indicator: throbber
|
||||||
|
third_party_settings: { }
|
||||||
|
field_images:
|
||||||
|
type: image_image
|
||||||
|
weight: 11
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
progress_indicator: throbber
|
||||||
|
preview_image_style: thumbnail
|
||||||
|
third_party_settings: { }
|
||||||
|
field_videos:
|
||||||
|
type: video_embed_field_textfield
|
||||||
|
weight: 12
|
||||||
|
region: content
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
langcode:
|
||||||
|
type: language_select
|
||||||
|
weight: 3
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
include_locked: true
|
||||||
|
third_party_settings: { }
|
||||||
|
status:
|
||||||
|
type: boolean_checkbox
|
||||||
|
weight: 6
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
display_label: true
|
||||||
|
third_party_settings: { }
|
||||||
|
title:
|
||||||
|
type: string_textfield
|
||||||
|
weight: 0
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
uid:
|
||||||
|
type: entity_reference_autocomplete
|
||||||
|
weight: 4
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
match_limit: 10
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
hidden:
|
||||||
|
path: true
|
||||||
|
promote: true
|
||||||
|
sticky: true
|
||||||
|
url_redirects: true
|
|
@ -0,0 +1,25 @@
|
||||||
|
uuid: 6e34936e-079e-46a6-9cd5-dd5a98b91fbc
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.paragraph.entite_concernement.field_entite
|
||||||
|
- paragraphs.paragraphs_type.entite_concernement
|
||||||
|
id: paragraph.entite_concernement.default
|
||||||
|
targetEntityType: paragraph
|
||||||
|
bundle: entite_concernement
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
field_entite:
|
||||||
|
type: entity_reference_autocomplete
|
||||||
|
weight: 0
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
match_limit: 10
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
hidden:
|
||||||
|
created: true
|
||||||
|
status: true
|
|
@ -0,0 +1,41 @@
|
||||||
|
uuid: 7c9cd918-7788-4584-ae1c-1a1f9bab1e88
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.node.concernement.body
|
||||||
|
- field.field.node.concernement.field_entite
|
||||||
|
- node.type.concernement
|
||||||
|
module:
|
||||||
|
- entity_reference_revisions
|
||||||
|
- text
|
||||||
|
- user
|
||||||
|
id: node.concernement.default
|
||||||
|
targetEntityType: node
|
||||||
|
bundle: concernement
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
body:
|
||||||
|
type: text_default
|
||||||
|
label: hidden
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 101
|
||||||
|
region: content
|
||||||
|
field_entite:
|
||||||
|
type: entity_reference_revisions_entity_view
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
view_mode: default
|
||||||
|
link: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 102
|
||||||
|
region: content
|
||||||
|
links:
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 100
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
langcode: true
|
||||||
|
search_api_excerpt: true
|
|
@ -0,0 +1,34 @@
|
||||||
|
uuid: 5f5011d2-d920-48b7-b04c-d7e9cfe90762
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- core.entity_view_mode.node.teaser
|
||||||
|
- field.field.node.concernement.body
|
||||||
|
- field.field.node.concernement.field_entite
|
||||||
|
- node.type.concernement
|
||||||
|
module:
|
||||||
|
- text
|
||||||
|
- user
|
||||||
|
id: node.concernement.teaser
|
||||||
|
targetEntityType: node
|
||||||
|
bundle: concernement
|
||||||
|
mode: teaser
|
||||||
|
content:
|
||||||
|
body:
|
||||||
|
type: text_summary_or_trimmed
|
||||||
|
label: hidden
|
||||||
|
settings:
|
||||||
|
trim_length: 600
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 101
|
||||||
|
region: content
|
||||||
|
links:
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 100
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
field_entite: true
|
||||||
|
langcode: true
|
||||||
|
search_api_excerpt: true
|
|
@ -0,0 +1,66 @@
|
||||||
|
uuid: 23ccda7b-4a23-4f9d-9d99-21ac393809de
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.node.entite.body
|
||||||
|
- field.field.node.entite.field_documents
|
||||||
|
- field.field.node.entite.field_images
|
||||||
|
- field.field.node.entite.field_videos
|
||||||
|
- node.type.entite
|
||||||
|
module:
|
||||||
|
- file
|
||||||
|
- image
|
||||||
|
- text
|
||||||
|
- user
|
||||||
|
- video_embed_field
|
||||||
|
id: node.entite.default
|
||||||
|
targetEntityType: node
|
||||||
|
bundle: entite
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
body:
|
||||||
|
type: text_default
|
||||||
|
label: hidden
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 101
|
||||||
|
region: content
|
||||||
|
field_documents:
|
||||||
|
type: file_default
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
use_description_as_link_text: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 104
|
||||||
|
region: content
|
||||||
|
field_images:
|
||||||
|
type: image
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
image_link: ''
|
||||||
|
image_style: ''
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 102
|
||||||
|
region: content
|
||||||
|
field_videos:
|
||||||
|
type: video_embed_field_video
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
autoplay: true
|
||||||
|
responsive: true
|
||||||
|
width: 854
|
||||||
|
height: 480
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 103
|
||||||
|
region: content
|
||||||
|
links:
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 100
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
langcode: true
|
||||||
|
search_api_excerpt: true
|
|
@ -0,0 +1,38 @@
|
||||||
|
uuid: d7f2ddae-a25f-4ae3-9692-d506c806f98b
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- core.entity_view_mode.node.teaser
|
||||||
|
- field.field.node.entite.body
|
||||||
|
- field.field.node.entite.field_documents
|
||||||
|
- field.field.node.entite.field_images
|
||||||
|
- field.field.node.entite.field_videos
|
||||||
|
- node.type.entite
|
||||||
|
module:
|
||||||
|
- text
|
||||||
|
- user
|
||||||
|
id: node.entite.teaser
|
||||||
|
targetEntityType: node
|
||||||
|
bundle: entite
|
||||||
|
mode: teaser
|
||||||
|
content:
|
||||||
|
body:
|
||||||
|
type: text_summary_or_trimmed
|
||||||
|
label: hidden
|
||||||
|
settings:
|
||||||
|
trim_length: 600
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 101
|
||||||
|
region: content
|
||||||
|
links:
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 100
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
field_documents: true
|
||||||
|
field_images: true
|
||||||
|
field_videos: true
|
||||||
|
langcode: true
|
||||||
|
search_api_excerpt: true
|
|
@ -0,0 +1,22 @@
|
||||||
|
uuid: 33c4a00a-87e9-4f44-bf0c-e77644cc19f3
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.paragraph.entite_concernement.field_entite
|
||||||
|
- paragraphs.paragraphs_type.entite_concernement
|
||||||
|
id: paragraph.entite_concernement.default
|
||||||
|
targetEntityType: paragraph
|
||||||
|
bundle: entite_concernement
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
field_entite:
|
||||||
|
type: entity_reference_label
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 0
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
search_api_excerpt: true
|
|
@ -0,0 +1,12 @@
|
||||||
|
uuid: d927e2bb-29e2-417f-aa78-b88282c93a89
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- paragraphs
|
||||||
|
_core:
|
||||||
|
default_config_hash: h3BeHVei4Lnyqbkao3YiF4KqoY-DhRvUNfEgKG8Rgjg
|
||||||
|
id: paragraph.preview
|
||||||
|
label: Preview
|
||||||
|
targetEntityType: paragraph
|
||||||
|
cache: true
|
|
@ -3,9 +3,11 @@ _core:
|
||||||
langcode: fr
|
langcode: fr
|
||||||
module:
|
module:
|
||||||
actions_permissions: 0
|
actions_permissions: 0
|
||||||
|
admin_menus: 0
|
||||||
admin_toolbar: 0
|
admin_toolbar: 0
|
||||||
admin_toolbar_links_access_filter: 0
|
admin_toolbar_links_access_filter: 0
|
||||||
advanced_text_formatter: 0
|
advanced_text_formatter: 0
|
||||||
|
amswap: 0
|
||||||
audiofield: 0
|
audiofield: 0
|
||||||
autocomplete_deluxe: 0
|
autocomplete_deluxe: 0
|
||||||
ban: 0
|
ban: 0
|
||||||
|
@ -43,6 +45,7 @@ module:
|
||||||
embed: 0
|
embed: 0
|
||||||
entity_browser: 0
|
entity_browser: 0
|
||||||
entity_browser_enhanced: 0
|
entity_browser_enhanced: 0
|
||||||
|
entity_reference_revisions: 0
|
||||||
field: 0
|
field: 0
|
||||||
field_group: 0
|
field_group: 0
|
||||||
field_ui: 0
|
field_ui: 0
|
||||||
|
@ -109,6 +112,7 @@ module:
|
||||||
pathauto: 1
|
pathauto: 1
|
||||||
content_translation: 10
|
content_translation: 10
|
||||||
views: 10
|
views: 10
|
||||||
|
paragraphs: 11
|
||||||
figli_starter_kit: 1000
|
figli_starter_kit: 1000
|
||||||
theme:
|
theme:
|
||||||
seven: 0
|
seven: 0
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
uuid: 1b1b21e9-cb2d-4c8f-8459-bea6e0063b66
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.body
|
||||||
|
- node.type.concernement
|
||||||
|
module:
|
||||||
|
- text
|
||||||
|
id: node.concernement.body
|
||||||
|
field_name: body
|
||||||
|
entity_type: node
|
||||||
|
bundle: concernement
|
||||||
|
label: Description
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: true
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
display_summary: true
|
||||||
|
required_summary: false
|
||||||
|
field_type: text_with_summary
|
|
@ -0,0 +1,31 @@
|
||||||
|
uuid: 1dab86d2-e0f0-43ed-b03a-c6c35e8e8535
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_entite
|
||||||
|
- node.type.concernement
|
||||||
|
- paragraphs.paragraphs_type.entite_concernement
|
||||||
|
module:
|
||||||
|
- entity_reference_revisions
|
||||||
|
id: node.concernement.field_entite
|
||||||
|
field_name: field_entite
|
||||||
|
entity_type: node
|
||||||
|
bundle: concernement
|
||||||
|
label: Entité
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:paragraph'
|
||||||
|
handler_settings:
|
||||||
|
target_bundles:
|
||||||
|
entite_concernement: entite_concernement
|
||||||
|
negate: 0
|
||||||
|
target_bundles_drag_drop:
|
||||||
|
entite_concernement:
|
||||||
|
weight: 2
|
||||||
|
enabled: true
|
||||||
|
field_type: entity_reference_revisions
|
|
@ -0,0 +1,23 @@
|
||||||
|
uuid: 57a8685d-4fbd-4bcc-a882-39a3994ec840
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.body
|
||||||
|
- node.type.entite
|
||||||
|
module:
|
||||||
|
- text
|
||||||
|
id: node.entite.body
|
||||||
|
field_name: body
|
||||||
|
entity_type: node
|
||||||
|
bundle: entite
|
||||||
|
label: Descritpion
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: true
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
display_summary: true
|
||||||
|
required_summary: false
|
||||||
|
field_type: text_with_summary
|
|
@ -0,0 +1,27 @@
|
||||||
|
uuid: 7b8ab8d4-8b0c-4e7d-80f2-29804863eef7
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_documents
|
||||||
|
- node.type.entite
|
||||||
|
module:
|
||||||
|
- file
|
||||||
|
id: node.entite.field_documents
|
||||||
|
field_name: field_documents
|
||||||
|
entity_type: node
|
||||||
|
bundle: entite
|
||||||
|
label: Documents
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:file'
|
||||||
|
handler_settings: { }
|
||||||
|
file_directory: '[date:custom:Y]-[date:custom:m]'
|
||||||
|
file_extensions: 'txt pdf doc docx obs png jpg svg'
|
||||||
|
max_filesize: ''
|
||||||
|
description_field: true
|
||||||
|
field_type: file
|
|
@ -0,0 +1,38 @@
|
||||||
|
uuid: 38c6bdef-6412-4bcd-87f5-0d3c5554baef
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_images
|
||||||
|
- node.type.entite
|
||||||
|
module:
|
||||||
|
- image
|
||||||
|
id: node.entite.field_images
|
||||||
|
field_name: field_images
|
||||||
|
entity_type: node
|
||||||
|
bundle: entite
|
||||||
|
label: Images
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:file'
|
||||||
|
handler_settings: { }
|
||||||
|
file_directory: '[date:custom:Y]-[date:custom:m]'
|
||||||
|
file_extensions: 'png gif jpg jpeg'
|
||||||
|
max_filesize: ''
|
||||||
|
max_resolution: ''
|
||||||
|
min_resolution: ''
|
||||||
|
alt_field: true
|
||||||
|
alt_field_required: false
|
||||||
|
title_field: true
|
||||||
|
title_field_required: false
|
||||||
|
default_image:
|
||||||
|
uuid: ''
|
||||||
|
alt: ''
|
||||||
|
title: ''
|
||||||
|
width: null
|
||||||
|
height: null
|
||||||
|
field_type: image
|
|
@ -0,0 +1,25 @@
|
||||||
|
uuid: a88f7ddd-3a1c-4208-b7ca-accba574a410
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_videos
|
||||||
|
- node.type.entite
|
||||||
|
module:
|
||||||
|
- video_embed_field
|
||||||
|
id: node.entite.field_videos
|
||||||
|
field_name: field_videos
|
||||||
|
entity_type: node
|
||||||
|
bundle: entite
|
||||||
|
label: Vidéos
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
allowed_providers:
|
||||||
|
vimeo: vimeo
|
||||||
|
youtube: youtube
|
||||||
|
youtube_playlist: '0'
|
||||||
|
field_type: video_embed_field
|
|
@ -0,0 +1,29 @@
|
||||||
|
uuid: 7ec4290f-1574-4a57-95a8-a24c325a4358
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.paragraph.field_entite
|
||||||
|
- node.type.entite
|
||||||
|
- paragraphs.paragraphs_type.entite_concernement
|
||||||
|
id: paragraph.entite_concernement.field_entite
|
||||||
|
field_name: field_entite
|
||||||
|
entity_type: paragraph
|
||||||
|
bundle: entite_concernement
|
||||||
|
label: Entité
|
||||||
|
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: true
|
||||||
|
auto_create_bundle: ''
|
||||||
|
field_type: entity_reference
|
|
@ -0,0 +1,23 @@
|
||||||
|
uuid: 1b0edae4-f418-4d5b-a938-00c002fdef05
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- file
|
||||||
|
- node
|
||||||
|
id: node.field_documents
|
||||||
|
field_name: field_documents
|
||||||
|
entity_type: node
|
||||||
|
type: file
|
||||||
|
settings:
|
||||||
|
target_type: file
|
||||||
|
display_field: true
|
||||||
|
display_default: true
|
||||||
|
uri_scheme: public
|
||||||
|
module: file
|
||||||
|
locked: false
|
||||||
|
cardinality: -1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
|
@ -0,0 +1,21 @@
|
||||||
|
uuid: ead9c4b3-fcaa-4e16-9255-7cbadb356681
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- entity_reference_revisions
|
||||||
|
- node
|
||||||
|
- paragraphs
|
||||||
|
id: node.field_entite
|
||||||
|
field_name: field_entite
|
||||||
|
entity_type: node
|
||||||
|
type: entity_reference_revisions
|
||||||
|
settings:
|
||||||
|
target_type: paragraph
|
||||||
|
module: entity_reference_revisions
|
||||||
|
locked: false
|
||||||
|
cardinality: -1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
|
@ -0,0 +1,30 @@
|
||||||
|
uuid: edf360a4-9baa-417c-9125-fc47cf090b60
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- file
|
||||||
|
- image
|
||||||
|
- node
|
||||||
|
id: node.field_images
|
||||||
|
field_name: field_images
|
||||||
|
entity_type: node
|
||||||
|
type: image
|
||||||
|
settings:
|
||||||
|
target_type: file
|
||||||
|
display_field: false
|
||||||
|
display_default: false
|
||||||
|
uri_scheme: public
|
||||||
|
default_image:
|
||||||
|
uuid: ''
|
||||||
|
alt: ''
|
||||||
|
title: ''
|
||||||
|
width: null
|
||||||
|
height: null
|
||||||
|
module: image
|
||||||
|
locked: false
|
||||||
|
cardinality: -1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
|
@ -0,0 +1,19 @@
|
||||||
|
uuid: b107231d-69e2-4908-aff1-9e398075ecb7
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
- video_embed_field
|
||||||
|
id: node.field_videos
|
||||||
|
field_name: field_videos
|
||||||
|
entity_type: node
|
||||||
|
type: video_embed_field
|
||||||
|
settings: { }
|
||||||
|
module: video_embed_field
|
||||||
|
locked: false
|
||||||
|
cardinality: -1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
|
@ -0,0 +1,20 @@
|
||||||
|
uuid: 88e80e4d-29df-4528-a809-78429c978ce4
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
- paragraphs
|
||||||
|
id: paragraph.field_entite
|
||||||
|
field_name: field_entite
|
||||||
|
entity_type: paragraph
|
||||||
|
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,11 @@
|
||||||
|
uuid: 2a0f7544-f9f2-4420-bc75-eca8da01e621
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- node.type.concernement
|
||||||
|
id: node.concernement
|
||||||
|
target_entity_type_id: node
|
||||||
|
target_bundle: concernement
|
||||||
|
default_langcode: site_default
|
||||||
|
language_alterable: false
|
|
@ -0,0 +1,11 @@
|
||||||
|
uuid: 63fcb5f4-9b5a-4db2-819b-fabd819146e1
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- node.type.entite
|
||||||
|
id: node.entite
|
||||||
|
target_entity_type_id: node
|
||||||
|
target_bundle: entite
|
||||||
|
default_langcode: site_default
|
||||||
|
language_alterable: false
|
|
@ -0,0 +1,38 @@
|
||||||
|
_core:
|
||||||
|
default_config_hash: YGueb7ImKHSG1RRmIB1iqPHVGXTmI2yvCcB-RX7FPeY
|
||||||
|
site_id: ''
|
||||||
|
url_http: ''
|
||||||
|
url_https: ''
|
||||||
|
domain_mode: 0
|
||||||
|
visibility:
|
||||||
|
request_path_mode: 0
|
||||||
|
request_path_pages: |-
|
||||||
|
/admin
|
||||||
|
/admin/*
|
||||||
|
/batch
|
||||||
|
/node/add*
|
||||||
|
/node/*/*
|
||||||
|
/user/*/*
|
||||||
|
user_role_mode: 0
|
||||||
|
user_role_roles: { }
|
||||||
|
user_account_mode: 1
|
||||||
|
track:
|
||||||
|
mailto: true
|
||||||
|
files: true
|
||||||
|
files_extensions: '7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip'
|
||||||
|
colorbox: true
|
||||||
|
userid: false
|
||||||
|
messages: { }
|
||||||
|
site_search: false
|
||||||
|
privacy:
|
||||||
|
donottrack: true
|
||||||
|
custom:
|
||||||
|
variable: { }
|
||||||
|
codesnippet:
|
||||||
|
before: ''
|
||||||
|
after: ''
|
||||||
|
translation_set: false
|
||||||
|
cache: false
|
||||||
|
page_title_hierarchy: false
|
||||||
|
page_title_hierarchy_exclude_home: true
|
||||||
|
langcode: fr
|
|
@ -0,0 +1,17 @@
|
||||||
|
uuid: a1a487f8-0d5f-4af7-90a0-04e9eae23c7a
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- menu_ui
|
||||||
|
third_party_settings:
|
||||||
|
menu_ui:
|
||||||
|
available_menus: { }
|
||||||
|
parent: ''
|
||||||
|
name: Concernement
|
||||||
|
type: concernement
|
||||||
|
description: boussole
|
||||||
|
help: ''
|
||||||
|
new_revision: true
|
||||||
|
preview_mode: 0
|
||||||
|
display_submitted: false
|
|
@ -0,0 +1,17 @@
|
||||||
|
uuid: fb3abc57-ba40-45ec-84d1-1f2db1fd113a
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- menu_ui
|
||||||
|
third_party_settings:
|
||||||
|
menu_ui:
|
||||||
|
available_menus: { }
|
||||||
|
parent: ''
|
||||||
|
name: Entité
|
||||||
|
type: entite
|
||||||
|
description: 'Les entités sont placées dans les concernements (boussoles)'
|
||||||
|
help: ''
|
||||||
|
new_revision: true
|
||||||
|
preview_mode: 0
|
||||||
|
display_submitted: false
|
|
@ -0,0 +1,10 @@
|
||||||
|
uuid: 93f0100d-fbc4-4a3e-a1e2-283dcb052951
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: entite_concernement
|
||||||
|
label: 'Entité intégrée'
|
||||||
|
icon_uuid: null
|
||||||
|
icon_default: null
|
||||||
|
description: 'Paragraphe qui pointe un CT entité et y ajoute les infos propre au concernement'
|
||||||
|
behavior_plugins: { }
|
|
@ -0,0 +1,4 @@
|
||||||
|
_core:
|
||||||
|
default_config_hash: 7eR0sk71Eol86r_A7BMqn5_46wzenh5J1O5vZRCGKv8
|
||||||
|
langcode: fr
|
||||||
|
show_unpublished: true
|
|
@ -0,0 +1,10 @@
|
||||||
|
uuid: b324ce0e-987c-47e5-a842-d6b5dc628331
|
||||||
|
langcode: und
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
_core:
|
||||||
|
default_config_hash: I81CfKebYEeQET3JtD67-P23S7xMzhJvFDoBNXKvsrw
|
||||||
|
id: administrator
|
||||||
|
label: Administrators
|
||||||
|
description: 'An admin menu for content administrators (must be customized for each new project)'
|
||||||
|
locked: false
|
|
@ -3,11 +3,15 @@ langcode: fr
|
||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
|
- filter.format.wysiwyg
|
||||||
|
- node.type.concernement
|
||||||
|
- node.type.entite
|
||||||
- node.type.static
|
- node.type.static
|
||||||
module:
|
module:
|
||||||
- actions_permissions
|
- actions_permissions
|
||||||
- content_translation
|
- content_translation
|
||||||
- file
|
- file
|
||||||
|
- filter
|
||||||
- node
|
- node
|
||||||
- system
|
- system
|
||||||
- toolbar
|
- toolbar
|
||||||
|
@ -27,14 +31,17 @@ permissions:
|
||||||
- 'administer productions menu items'
|
- 'administer productions menu items'
|
||||||
- 'administer users'
|
- 'administer users'
|
||||||
- 'change own username'
|
- 'change own username'
|
||||||
|
- 'create concernement content'
|
||||||
- 'create content translations'
|
- 'create content translations'
|
||||||
- 'create corpus_documents workflow_transition'
|
- 'create corpus_documents workflow_transition'
|
||||||
- 'create defalut workflow_transition'
|
- 'create defalut workflow_transition'
|
||||||
- 'create default workflow_transition'
|
- 'create default workflow_transition'
|
||||||
- 'create enregistrement content'
|
- 'create enregistrement content'
|
||||||
|
- 'create entite content'
|
||||||
- 'create evenement content'
|
- 'create evenement content'
|
||||||
- 'create generique workflow_transition'
|
- 'create generique workflow_transition'
|
||||||
- 'create page content'
|
- 'create page content'
|
||||||
|
- 'create static content'
|
||||||
- 'create terms in collectionneurs'
|
- 'create terms in collectionneurs'
|
||||||
- 'create terms in entrees'
|
- 'create terms in entrees'
|
||||||
- 'create terms in genres'
|
- 'create terms in genres'
|
||||||
|
@ -45,13 +52,21 @@ permissions:
|
||||||
- 'delete any evenement content'
|
- 'delete any evenement content'
|
||||||
- 'delete any fil content'
|
- 'delete any fil content'
|
||||||
- 'delete any page content'
|
- 'delete any page content'
|
||||||
|
- 'delete concernement revisions'
|
||||||
|
- 'delete entite revisions'
|
||||||
|
- 'delete own concernement content'
|
||||||
|
- 'delete own entite content'
|
||||||
|
- 'delete own static content'
|
||||||
|
- 'delete static revisions'
|
||||||
- 'delete terms in collectionneurs'
|
- 'delete terms in collectionneurs'
|
||||||
- 'delete terms in entrees'
|
- 'delete terms in entrees'
|
||||||
- 'delete terms in genres'
|
- 'delete terms in genres'
|
||||||
- 'delete terms in langues'
|
- 'delete terms in langues'
|
||||||
- 'delete terms in locuteurs'
|
- 'delete terms in locuteurs'
|
||||||
- 'edit any autre_son content'
|
- 'edit any autre_son content'
|
||||||
|
- 'edit any concernement content'
|
||||||
- 'edit any enregistrement content'
|
- 'edit any enregistrement content'
|
||||||
|
- 'edit any entite content'
|
||||||
- 'edit any evenement content'
|
- 'edit any evenement content'
|
||||||
- 'edit any page content'
|
- 'edit any page content'
|
||||||
- 'edit any static content'
|
- 'edit any static content'
|
||||||
|
@ -80,7 +95,9 @@ permissions:
|
||||||
- 'revert any corpus_documents workflow_transition'
|
- 'revert any corpus_documents workflow_transition'
|
||||||
- 'revert any generique workflow_transition'
|
- 'revert any generique workflow_transition'
|
||||||
- 'revert autre_son revisions'
|
- 'revert autre_son revisions'
|
||||||
|
- 'revert concernement revisions'
|
||||||
- 'revert enregistrement revisions'
|
- 'revert enregistrement revisions'
|
||||||
|
- 'revert entite revisions'
|
||||||
- 'revert evenement revisions'
|
- 'revert evenement revisions'
|
||||||
- 'revert page revisions'
|
- 'revert page revisions'
|
||||||
- 'revert static revisions'
|
- 'revert static revisions'
|
||||||
|
@ -97,8 +114,11 @@ permissions:
|
||||||
- 'update content translations'
|
- 'update content translations'
|
||||||
- 'use text format wysiwyg'
|
- 'use text format wysiwyg'
|
||||||
- 'view autre_son revisions'
|
- 'view autre_son revisions'
|
||||||
|
- 'view concernement revisions'
|
||||||
- 'view enregistrement revisions'
|
- 'view enregistrement revisions'
|
||||||
|
- 'view entite revisions'
|
||||||
- 'view evenement revisions'
|
- 'view evenement revisions'
|
||||||
|
- 'view own unpublished content'
|
||||||
- 'view page revisions'
|
- 'view page revisions'
|
||||||
- 'view static revisions'
|
- 'view static revisions'
|
||||||
- 'view the administration theme'
|
- 'view the administration theme'
|
||||||
|
|
|
@ -2,8 +2,11 @@ uuid: b02cf7b2-9f2e-4176-a89b-5003153c1fd1
|
||||||
langcode: fr
|
langcode: fr
|
||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
|
config:
|
||||||
|
- filter.format.wysiwyg
|
||||||
module:
|
module:
|
||||||
- devel
|
- devel
|
||||||
|
- filter
|
||||||
- system
|
- system
|
||||||
_core:
|
_core:
|
||||||
default_config_hash: g0EHI5W4j_ZUCTvSQWEDEKVvC0g1Glt4YWZt_ihyvog
|
default_config_hash: g0EHI5W4j_ZUCTvSQWEDEKVvC0g1Glt4YWZt_ihyvog
|
||||||
|
|
|
@ -2,8 +2,11 @@ uuid: e4a62f6c-04b9-405a-b124-d88c3917fe39
|
||||||
langcode: fr
|
langcode: fr
|
||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
|
config:
|
||||||
|
- filter.format.wysiwyg
|
||||||
module:
|
module:
|
||||||
- devel
|
- devel
|
||||||
|
- filter
|
||||||
- system
|
- system
|
||||||
_core:
|
_core:
|
||||||
default_config_hash: NlAJ1uthbRfNcM-M7UCYixmpTNgZnkuQKQymrXPv7UY
|
default_config_hash: NlAJ1uthbRfNcM-M7UCYixmpTNgZnkuQKQymrXPv7UY
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,5 @@
|
||||||
|
name: 'Admin Menus'
|
||||||
|
type: module
|
||||||
|
description: 'create editors admin menus through module as they will be exportable as config'
|
||||||
|
core_version_requirement: ^8.8 || ^9.2
|
||||||
|
package: 'Custom'
|
|
@ -0,0 +1,31 @@
|
||||||
|
admin_menus.concernement_add:
|
||||||
|
route_name: node.add
|
||||||
|
route_parameters:
|
||||||
|
node_type: 'concernement'
|
||||||
|
title: 'Add Concernement'
|
||||||
|
appears_on:
|
||||||
|
- view.admin_nodes.page_1
|
||||||
|
|
||||||
|
admin_menus.entite_add:
|
||||||
|
route_name: node.add
|
||||||
|
route_parameters:
|
||||||
|
node_type: 'entite'
|
||||||
|
title: 'Add Entité'
|
||||||
|
appears_on:
|
||||||
|
- view.admin_nodes.page_2
|
||||||
|
|
||||||
|
# admin_menus.company_add:
|
||||||
|
# route_name: entity.taxonomy_term.add_form
|
||||||
|
# route_parameters:
|
||||||
|
# taxonomy_vocabulary: 'company'
|
||||||
|
# title: 'Add Companie'
|
||||||
|
# appears_on:
|
||||||
|
# - view.admin_taxo.page_1
|
||||||
|
|
||||||
|
|
||||||
|
# admin_menus.user_add:
|
||||||
|
# route_name: user.admin_create
|
||||||
|
# title: 'Add User'
|
||||||
|
# appears_on:
|
||||||
|
# - view.admin_users.page_1
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
admin_menus.contents:
|
||||||
|
title: Contents
|
||||||
|
description: ''
|
||||||
|
parent: administrator
|
||||||
|
route_name: view.admin_nodes.page_1
|
||||||
|
menu_name: administrator
|
||||||
|
weight: 0
|
||||||
|
|
||||||
|
admin_menus.concernements:
|
||||||
|
title: Concernements
|
||||||
|
description: ''
|
||||||
|
parent: admin_menus.contents
|
||||||
|
route_name: view.admin_nodes.page_1
|
||||||
|
menu_name: administrator
|
||||||
|
weight: 0
|
||||||
|
|
||||||
|
admin_menus.entitees:
|
||||||
|
title: Entitees
|
||||||
|
description: ''
|
||||||
|
parent: admin_menus.contents
|
||||||
|
route_name: view.admin_nodes.page_2
|
||||||
|
menu_name: administrator
|
||||||
|
weight: 2
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @file
|
||||||
|
* Contains admin_menus.module.
|
||||||
|
*/
|
||||||
|
|
||||||
|
use Drupal\Core\Routing\RouteMatchInterface;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements hook_help().
|
||||||
|
*/
|
||||||
|
function admin_menus_help($route_name, RouteMatchInterface $route_match) {
|
||||||
|
switch ($route_name) {
|
||||||
|
// Main module help for the editors_menus module.
|
||||||
|
case 'help.page.admin_menus':
|
||||||
|
$output = '';
|
||||||
|
$output .= '<h3>' . t('About') . '</h3>';
|
||||||
|
$output .= '<p>' . t('create editors admins menus through module as they will be exportable as config') . '</p>';
|
||||||
|
return $output;
|
||||||
|
|
||||||
|
default:
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
langcode: und
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: administrator
|
||||||
|
label: Administrators
|
||||||
|
description: 'An admin menu for content administrators (must be customized for each new project)'
|
||||||
|
locked: false
|
Loading…
Reference in New Issue