diff --git a/composer.json b/composer.json index 4ee952c..a39ccba 100644 --- a/composer.json +++ b/composer.json @@ -17,6 +17,7 @@ "require": { "composer/installers": "^2.0", "drupal/color_pickr": "^1.1", + "drupal/config_pages": "^2.16", "drupal/config_rewrite": "^1.6", "drupal/core-composer-scaffold": "^10.2", "drupal/core-project-message": "^10.2", diff --git a/composer.lock b/composer.lock index 3846fad..ba441e7 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "879780d144369cb20a0e07902d9d4d86", + "content-hash": "0ccc2ef3bb28a73314a7566ef1d73a5d", "packages": [ { "name": "asm89/stack-cors", @@ -2736,6 +2736,67 @@ "irc": "irc://irc.freenode.org/drupal-contribute" } }, + { + "name": "drupal/config_pages", + "version": "2.16.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/config_pages.git", + "reference": "8.x-2.16" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/config_pages-8.x-2.16.zip", + "reference": "8.x-2.16", + "shasum": "7896a698c6b85ea0babc4676f0af82e2f2c885b3" + }, + "require": { + "drupal/core": "^8.5 | ^9 || ^10 || ^11" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-2.16", + "datestamp": "1723641125", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + }, + "drush": { + "services": { + "drush.services.yml": "^9" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "m.krestnicov", + "homepage": "https://www.drupal.org/user/3193903" + }, + { + "name": "Qwaygon", + "homepage": "https://www.drupal.org/user/636624" + }, + { + "name": "shumer", + "homepage": "https://www.drupal.org/user/2297432" + } + ], + "description": "ConfigPages module", + "homepage": "http://drupal.org/project/config_pages", + "keywords": [ + "Drupal" + ], + "support": { + "source": "http://cgit.drupalcode.org/config_pages", + "issues": "http://drupal.org/project/issues/config_pages" + } + }, { "name": "drupal/config_rewrite", "version": "1.6.0", @@ -13635,12 +13696,10 @@ "aliases": [], "minimum-stability": "dev", "stability-flags": { - "drupal/footnotes": 10, - "drupal/page_manager": 5, "drupal/advanced_text_formatter": 5, "drupal/bulkdelete": 20, - "drupal/config_ignore": 5, "drupal/config_devel": 20, + "drupal/config_ignore": 5, "drupal/config_update": 15, "drupal/context": 5, "drupal/date_range_formatter": 20, @@ -13648,6 +13707,7 @@ "drupal/entity_clone": 20, "drupal/field_group": 20, "drupal/filter_perms": 20, + "drupal/footnotes": 10, "drupal/inline_entity_form": 5, "drupal/linkit": 10, "drupal/login_destination": 20, @@ -13655,6 +13715,7 @@ "drupal/maxlength": 10, "drupal/menu_block": 20, "drupal/menu_position": 20, + "drupal/page_manager": 5, "drupal/path_alias_xt": 20, "drupal/pathologic": 15, "drupal/profile": 5, @@ -13664,7 +13725,7 @@ }, "prefer-stable": true, "prefer-lowest": false, - "platform": [], - "platform-dev": [], + "platform": {}, + "platform-dev": {}, "plugin-api-version": "2.6.0" } diff --git a/config/sync/config_pages.type.intro_gouvernance.yml b/config/sync/config_pages.type.intro_gouvernance.yml new file mode 100644 index 0000000..7d40f37 --- /dev/null +++ b/config/sync/config_pages.type.intro_gouvernance.yml @@ -0,0 +1,17 @@ +uuid: f99db514-5d98-4f51-b14c-c4ced4afc8c5 +langcode: fr +status: true +dependencies: { } +id: intro_gouvernance +label: 'intro gouvernance' +token: false +context: + show_warning: true + group: + language: false + fallback: + language: '' +menu: + path: /edit/gouvernance + weight: 0 + description: '' diff --git a/config/sync/config_pages.type.intro_partenaires.yml b/config/sync/config_pages.type.intro_partenaires.yml new file mode 100644 index 0000000..acd817a --- /dev/null +++ b/config/sync/config_pages.type.intro_partenaires.yml @@ -0,0 +1,17 @@ +uuid: 86c7ea1e-a93e-4ddf-9887-e1f302a99ea9 +langcode: fr +status: true +dependencies: { } +id: intro_partenaires +label: 'Intro partenaires' +token: false +context: + show_warning: true + group: + language: false + fallback: + language: '' +menu: + path: /edit/partenaires + weight: 0 + description: '' diff --git a/config/sync/core.base_field_override.node.equipe.promote.yml b/config/sync/core.base_field_override.node.equipe.promote.yml new file mode 100644 index 0000000..9dff4b3 --- /dev/null +++ b/config/sync/core.base_field_override.node.equipe.promote.yml @@ -0,0 +1,22 @@ +uuid: 83ba5ce9-056a-4c77-8b23-0801dc5eca3b +langcode: fr +status: true +dependencies: + config: + - node.type.equipe +id: node.equipe.promote +field_name: promote +entity_type: node +bundle: equipe +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 diff --git a/config/sync/core.entity_form_display.config_pages.intro_gouvernance.default.yml b/config/sync/core.entity_form_display.config_pages.intro_gouvernance.default.yml new file mode 100644 index 0000000..e1365bc --- /dev/null +++ b/config/sync/core.entity_form_display.config_pages.intro_gouvernance.default.yml @@ -0,0 +1,24 @@ +uuid: 3fa837c4-9a84-4f1f-af68-7dd7916217bf +langcode: fr +status: true +dependencies: + config: + - config_pages.type.intro_gouvernance + - field.field.config_pages.intro_gouvernance.field_intro + module: + - text +id: config_pages.intro_gouvernance.default +targetEntityType: config_pages +bundle: intro_gouvernance +mode: default +content: + field_intro: + type: text_textarea + weight: 0 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } +hidden: + label: true diff --git a/config/sync/core.entity_form_display.config_pages.intro_partenaires.default.yml b/config/sync/core.entity_form_display.config_pages.intro_partenaires.default.yml new file mode 100644 index 0000000..506557d --- /dev/null +++ b/config/sync/core.entity_form_display.config_pages.intro_partenaires.default.yml @@ -0,0 +1,24 @@ +uuid: 03e534f2-ceae-4f84-89f2-a0f9997f8a9d +langcode: fr +status: true +dependencies: + config: + - config_pages.type.intro_partenaires + - field.field.config_pages.intro_partenaires.field_intro + module: + - text +id: config_pages.intro_partenaires.default +targetEntityType: config_pages +bundle: intro_partenaires +mode: default +content: + field_intro: + type: text_textarea + weight: 0 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } +hidden: + label: true diff --git a/config/sync/core.entity_form_display.node.equipe.default.yml b/config/sync/core.entity_form_display.node.equipe.default.yml new file mode 100644 index 0000000..a9c832c --- /dev/null +++ b/config/sync/core.entity_form_display.node.equipe.default.yml @@ -0,0 +1,95 @@ +uuid: 71b2f68b-0171-41db-ba52-664ecb84b433 +langcode: fr +status: true +dependencies: + config: + - field.field.node.equipe.body + - field.field.node.equipe.field_personne_s + - field.field.node.equipe.field_poid + - node.type.equipe + module: + - field_group + - paragraphs + - text +third_party_settings: + field_group: + group_details: + children: + - field_poid + - status + label: Details + region: content + parent_name: '' + weight: 3 + format_type: details_sidebar + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + open: true + description: '' + required_fields: true + weight: -100 +id: node.equipe.default +targetEntityType: node +bundle: equipe +mode: default +content: + body: + type: text_textarea_with_summary + weight: 1 + region: content + settings: + rows: 9 + summary_rows: 3 + placeholder: '' + show_summary: false + third_party_settings: { } + field_personne_s: + type: paragraphs + weight: 2 + 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: { } + field_poid: + type: number + weight: 12 + region: content + settings: + placeholder: '' + third_party_settings: { } + status: + type: boolean_checkbox + weight: 13 + region: content + settings: + display_label: true + third_party_settings: { } + title: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } +hidden: + created: true + langcode: true + path: true + promote: true + sticky: true + uid: true diff --git a/config/sync/core.entity_view_display.config_pages.intro_gouvernance.default.yml b/config/sync/core.entity_view_display.config_pages.intro_gouvernance.default.yml new file mode 100644 index 0000000..87ab79c --- /dev/null +++ b/config/sync/core.entity_view_display.config_pages.intro_gouvernance.default.yml @@ -0,0 +1,23 @@ +uuid: 82e3c7b0-5829-4df9-861b-c1fc050441e6 +langcode: fr +status: true +dependencies: + config: + - config_pages.type.intro_gouvernance + - field.field.config_pages.intro_gouvernance.field_intro + module: + - text +id: config_pages.intro_gouvernance.default +targetEntityType: config_pages +bundle: intro_gouvernance +mode: default +content: + field_intro: + type: text_default + label: visually_hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content +hidden: + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.config_pages.intro_partenaires.default.yml b/config/sync/core.entity_view_display.config_pages.intro_partenaires.default.yml new file mode 100644 index 0000000..f6f90ef --- /dev/null +++ b/config/sync/core.entity_view_display.config_pages.intro_partenaires.default.yml @@ -0,0 +1,23 @@ +uuid: ac925def-bc83-4add-a5c9-88bc02e771b5 +langcode: fr +status: true +dependencies: + config: + - config_pages.type.intro_partenaires + - field.field.config_pages.intro_partenaires.field_intro + module: + - text +id: config_pages.intro_partenaires.default +targetEntityType: config_pages +bundle: intro_partenaires +mode: default +content: + field_intro: + type: text_default + label: visually_hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content +hidden: + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.equipe.default.yml b/config/sync/core.entity_view_display.node.equipe.default.yml new file mode 100644 index 0000000..bf51027 --- /dev/null +++ b/config/sync/core.entity_view_display.node.equipe.default.yml @@ -0,0 +1,40 @@ +uuid: 6c5f13b3-2cff-4094-a335-ccc5c7163003 +langcode: fr +status: true +dependencies: + config: + - field.field.node.equipe.body + - field.field.node.equipe.field_personne_s + - field.field.node.equipe.field_poid + - node.type.equipe + module: + - entity_reference_revisions + - text + - user +id: node.equipe.default +targetEntityType: node +bundle: equipe +mode: default +content: + body: + type: text_default + label: visually_hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content + field_personne_s: + type: entity_reference_revisions_entity_view + label: visually_hidden + settings: + view_mode: default + link: '' + third_party_settings: { } + weight: 1 + region: content +hidden: + field_poid: true + footnotes_group: true + langcode: true + links: true + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.equipe.teaser.yml b/config/sync/core.entity_view_display.node.equipe.teaser.yml new file mode 100644 index 0000000..908617f --- /dev/null +++ b/config/sync/core.entity_view_display.node.equipe.teaser.yml @@ -0,0 +1,37 @@ +uuid: aef5e1f6-ce57-488c-bb21-1990e7123a67 +langcode: fr +status: true +dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.equipe.body + - field.field.node.equipe.field_personne_s + - field.field.node.equipe.field_poid + - node.type.equipe + module: + - text + - user +id: node.equipe.teaser +targetEntityType: node +bundle: equipe +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_personne_s: true + field_poid: true + footnotes_group: true + langcode: true + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.paragraph.personne.default.yml b/config/sync/core.entity_view_display.paragraph.personne.default.yml index 78568d6..f87a51d 100644 --- a/config/sync/core.entity_view_display.paragraph.personne.default.yml +++ b/config/sync/core.entity_view_display.paragraph.personne.default.yml @@ -17,22 +17,22 @@ mode: default content: field_description: type: basic_string - label: above + label: visually_hidden settings: { } third_party_settings: { } - weight: 1 + weight: 3 region: content field_nom: type: string - label: above + label: visually_hidden settings: link_to_entity: false third_party_settings: { } - weight: 2 + weight: 1 region: content field_portrait: type: image - label: above + label: visually_hidden settings: image_link: '' image_style: '' @@ -43,11 +43,11 @@ content: region: content field_prenom: type: string - label: above + label: visually_hidden settings: link_to_entity: false third_party_settings: { } - weight: 3 + weight: 2 region: content hidden: search_api_excerpt: true diff --git a/config/sync/core.entity_view_mode.config_pages.full.yml b/config/sync/core.entity_view_mode.config_pages.full.yml new file mode 100644 index 0000000..f124b72 --- /dev/null +++ b/config/sync/core.entity_view_mode.config_pages.full.yml @@ -0,0 +1,13 @@ +uuid: e77da7eb-5009-4dc8-aef0-66b0a767914b +langcode: fr +status: true +dependencies: + module: + - config_pages +_core: + default_config_hash: VYERDzPNi1-oUm7KMLjol4oLcjbHr-onKbitt4dZuN0 +id: config_pages.full +label: Complet +description: '' +targetEntityType: config_pages +cache: true diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 023946b..5e385a7 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -21,6 +21,7 @@ module: config_devel: 0 config_filter: 0 config_ignore: 0 + config_pages: 0 config_rewrite: 0 config_translation: 0 config_update: 0 diff --git a/config/sync/field.field.config_pages.intro_gouvernance.field_intro.yml b/config/sync/field.field.config_pages.intro_gouvernance.field_intro.yml new file mode 100644 index 0000000..8091237 --- /dev/null +++ b/config/sync/field.field.config_pages.intro_gouvernance.field_intro.yml @@ -0,0 +1,24 @@ +uuid: c6872408-b1f9-4295-8dd2-239cf345a6e6 +langcode: fr +status: true +dependencies: + config: + - config_pages.type.intro_gouvernance + - field.storage.config_pages.field_intro + - filter.format.wysiwyg + module: + - text +id: config_pages.intro_gouvernance.field_intro +field_name: field_intro +entity_type: config_pages +bundle: intro_gouvernance +label: Intro +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_formats: + - wysiwyg +field_type: text_long diff --git a/config/sync/field.field.config_pages.intro_partenaires.field_intro.yml b/config/sync/field.field.config_pages.intro_partenaires.field_intro.yml new file mode 100644 index 0000000..095cd4d --- /dev/null +++ b/config/sync/field.field.config_pages.intro_partenaires.field_intro.yml @@ -0,0 +1,24 @@ +uuid: 52fa2fc6-d3ca-4fef-b91b-06be4145e8e3 +langcode: fr +status: true +dependencies: + config: + - config_pages.type.intro_partenaires + - field.storage.config_pages.field_intro + - filter.format.wysiwyg + module: + - text +id: config_pages.intro_partenaires.field_intro +field_name: field_intro +entity_type: config_pages +bundle: intro_partenaires +label: Intro +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_formats: + - wysiwyg +field_type: text_long diff --git a/config/sync/field.field.node.equipe.body.yml b/config/sync/field.field.node.equipe.body.yml new file mode 100644 index 0000000..57ad284 --- /dev/null +++ b/config/sync/field.field.node.equipe.body.yml @@ -0,0 +1,24 @@ +uuid: 09512770-b2ed-4ca1-a548-2f59f416c789 +langcode: fr +status: true +dependencies: + config: + - field.storage.node.body + - node.type.equipe + module: + - text +id: node.equipe.body +field_name: body +entity_type: node +bundle: equipe +label: Présentation +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + display_summary: true + required_summary: false + allowed_formats: { } +field_type: text_with_summary diff --git a/config/sync/field.field.node.equipe.field_personne_s.yml b/config/sync/field.field.node.equipe.field_personne_s.yml new file mode 100644 index 0000000..b671cea --- /dev/null +++ b/config/sync/field.field.node.equipe.field_personne_s.yml @@ -0,0 +1,61 @@ +uuid: 8198a2fc-6ac0-4d39-b72f-55dbaf51fb10 +langcode: fr +status: true +dependencies: + config: + - field.storage.node.field_personne_s + - node.type.equipe + - paragraphs.paragraphs_type.personne + module: + - entity_reference_revisions +id: node.equipe.field_personne_s +field_name: field_personne_s +entity_type: node +bundle: equipe +label: Personne(s) +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + personne: personne + negate: 0 + target_bundles_drag_drop: + carte_sensible: + weight: 12 + enabled: false + chiffre_cle: + weight: 14 + enabled: false + chiffres_cles: + weight: 13 + enabled: false + diaporama: + weight: 15 + enabled: false + entretien: + weight: 16 + enabled: false + entretien_question_reponse: + weight: 17 + enabled: false + exergue: + weight: 18 + enabled: false + galleries: + weight: 19 + enabled: false + personne: + weight: 20 + enabled: true + titre_texte: + weight: 21 + enabled: false + video: + weight: 22 + enabled: false +field_type: entity_reference_revisions diff --git a/config/sync/field.field.node.equipe.field_poid.yml b/config/sync/field.field.node.equipe.field_poid.yml new file mode 100644 index 0000000..5c43645 --- /dev/null +++ b/config/sync/field.field.node.equipe.field_poid.yml @@ -0,0 +1,25 @@ +uuid: a1872697-2226-4008-a585-993279d18649 +langcode: fr +status: true +dependencies: + config: + - field.storage.node.field_poid + - node.type.equipe +id: node.equipe.field_poid +field_name: field_poid +entity_type: node +bundle: equipe +label: Poid +description: '' +required: false +translatable: false +default_value: + - + value: 0 +default_value_callback: '' +settings: + min: -20 + max: 20 + prefix: '' + suffix: '' +field_type: integer diff --git a/config/sync/field.storage.config_pages.field_intro.yml b/config/sync/field.storage.config_pages.field_intro.yml new file mode 100644 index 0000000..e7e4ffe --- /dev/null +++ b/config/sync/field.storage.config_pages.field_intro.yml @@ -0,0 +1,19 @@ +uuid: a26faee3-0214-4c50-ab4c-51c658ad34ab +langcode: fr +status: true +dependencies: + module: + - config_pages + - text +id: config_pages.field_intro +field_name: field_intro +entity_type: config_pages +type: text_long +settings: { } +module: text +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_personne_s.yml b/config/sync/field.storage.node.field_personne_s.yml new file mode 100644 index 0000000..e73f478 --- /dev/null +++ b/config/sync/field.storage.node.field_personne_s.yml @@ -0,0 +1,21 @@ +uuid: afa99244-ba6b-4c63-86ad-1d3e23785fc1 +langcode: fr +status: true +dependencies: + module: + - entity_reference_revisions + - node + - paragraphs +id: node.field_personne_s +field_name: field_personne_s +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 diff --git a/config/sync/language.content_settings.node.equipe.yml b/config/sync/language.content_settings.node.equipe.yml new file mode 100644 index 0000000..4194264 --- /dev/null +++ b/config/sync/language.content_settings.node.equipe.yml @@ -0,0 +1,11 @@ +uuid: 04893961-9641-44e5-8b17-4d5b0bbab8c9 +langcode: fr +status: true +dependencies: + config: + - node.type.equipe +id: node.equipe +target_entity_type_id: node +target_bundle: equipe +default_langcode: site_default +language_alterable: false diff --git a/config/sync/node.type.equipe.yml b/config/sync/node.type.equipe.yml new file mode 100644 index 0000000..77de159 --- /dev/null +++ b/config/sync/node.type.equipe.yml @@ -0,0 +1,17 @@ +uuid: 6e81bafe-2667-41ed-aa55-4125cbe6e4ff +langcode: fr +status: true +dependencies: + module: + - menu_ui +third_party_settings: + menu_ui: + available_menus: { } + parent: '' +name: Equipe +type: equipe +description: null +help: null +new_revision: true +preview_mode: 0 +display_submitted: false diff --git a/config/sync/user.role.anonymous.yml b/config/sync/user.role.anonymous.yml index 83593c7..6f1c44b 100644 --- a/config/sync/user.role.anonymous.yml +++ b/config/sync/user.role.anonymous.yml @@ -5,6 +5,7 @@ dependencies: config: - rest.resource.rest_menu_item module: + - config_pages - media - rest - system @@ -17,4 +18,6 @@ is_admin: false permissions: - 'access content' - 'restful get rest_menu_item' + - 'view intro_gouvernance config page entity' + - 'view intro_partenaires config page entity' - 'view media' diff --git a/config/sync/user.role.authenticated.yml b/config/sync/user.role.authenticated.yml index 57a1f3c..0afa865 100644 --- a/config/sync/user.role.authenticated.yml +++ b/config/sync/user.role.authenticated.yml @@ -8,6 +8,7 @@ dependencies: - filter.format.wysiwyg - rest.resource.rest_menu_item module: + - config_pages - filter - media - rest @@ -24,4 +25,6 @@ permissions: - 'use text format footnote' - 'use text format simple' - 'use text format wysiwyg' + - 'view intro_gouvernance config page entity' + - 'view intro_partenaires config page entity' - 'view media' diff --git a/config/sync/user.role.editor.yml b/config/sync/user.role.editor.yml index 7bb94e3..1981992 100644 --- a/config/sync/user.role.editor.yml +++ b/config/sync/user.role.editor.yml @@ -6,6 +6,7 @@ dependencies: - filter.format.footnote - filter.format.simple - filter.format.wysiwyg + - node.type.equipe - node.type.etape - node.type.gallerie_photo - node.type.partenaire @@ -13,6 +14,7 @@ dependencies: - taxonomy.vocabulary.saisons - taxonomy.vocabulary.thematiques module: + - config_pages - content_lock - filter - node @@ -32,25 +34,34 @@ permissions: - 'administer nodes' - 'break content lock' - 'change own username' + - 'create equipe content' - 'create etape content' - 'create gallerie_photo content' - 'create partenaire content' - 'create terms in saisons' - 'create terms in thematiques' + - 'delete equipe revisions' - 'delete etape revisions' - 'delete gallerie_photo revisions' - 'delete partenaire revisions' - 'delete static revisions' - 'delete terms in saisons' - 'delete terms in thematiques' + - 'edit any equipe content' - 'edit any etape content' - 'edit any gallerie_photo content' - 'edit any partenaire content' - 'edit any static content' + - 'edit intro_gouvernance config page entity' + - 'edit intro_partenaires config page entity' + - 'edit own equipe content' + - 'edit own etape content' + - 'edit own gallerie_photo content' - 'edit own partenaire content' - 'edit own static content' - 'edit terms in saisons' - 'edit terms in thematiques' + - 'revert equipe revisions' - 'revert etape revisions' - 'revert gallerie_photo revisions' - 'revert partenaire revisions' @@ -58,6 +69,7 @@ permissions: - 'use text format footnote' - 'use text format simple' - 'use text format wysiwyg' + - 'view equipe revisions' - 'view etape revisions' - 'view gallerie_photo revisions' - 'view partenaire revisions' diff --git a/config/sync/views.view.gouvernance.yml b/config/sync/views.view.gouvernance.yml new file mode 100644 index 0000000..521d5ea --- /dev/null +++ b/config/sync/views.view.gouvernance.yml @@ -0,0 +1,246 @@ +uuid: d317b05a-5ba1-43bc-8c53-16de875a0752 +langcode: fr +status: true +dependencies: + config: + - core.entity_view_mode.node.full + - node.type.equipe + - system.menu.main + content: + - 'config_pages:intro_gouvernance:7c0cf1e3-2e77-49f3-8091-c22b9fdd705a' + module: + - node + - rest + - serialization + - user +id: gouvernance +label: Gouvernance +module: views +description: '' +tag: '' +base_table: node_field_data +base_field: nid +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + title: Gouvernance + fields: + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + make_link: false + absolute: false + word_boundary: false + ellipsis: false + strip_tags: false + trim: false + 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: string + settings: + link_to_entity: true + 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 + pager: + type: none + options: + offset: 0 + items_per_page: 0 + exposed_form: + type: basic + options: + submit_button: Appliquer + reset_button: false + reset_button_label: Réinitialiser + exposed_sorts_label: 'Trier par' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: perm + options: + perm: 'access content' + cache: + type: tag + options: { } + empty: { } + sorts: + field_poid_value: + id: field_poid_value + table: node__field_poid + field: field_poid_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: '' + exposed: false + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: '' + exposed: false + arguments: { } + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + type: + id: type + table: node_field_data + field: type + entity_type: node + entity_field: type + plugin_id: bundle + value: + equipe: equipe + style: + type: default + row: + type: 'entity:node' + options: + view_mode: full + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + header: + entity_config_pages: + id: entity_config_pages + table: views + field: entity_config_pages + relationship: none + group_type: group + admin_label: '' + plugin_id: entity + empty: false + target: 7c0cf1e3-2e77-49f3-8091-c22b9fdd705a + view_mode: default + tokenize: true + bypass_access: false + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - 'user.node_grants:view' + - user.permissions + tags: { } + page_1: + id: page_1 + display_title: Page + display_plugin: page + position: 1 + display_options: + display_extenders: { } + path: gouvernance + menu: + type: normal + title: Gouvernance + description: '' + weight: 5 + expanded: false + menu_name: main + parent: '' + context: '0' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - 'user.node_grants:view' + - user.permissions + tags: { } + rest_export_1: + id: rest_export_1 + display_title: 'REST export' + display_plugin: rest_export + position: 2 + display_options: + pager: + type: some + options: + offset: 0 + items_per_page: 10 + style: + type: serializer + row: + type: data_entity + options: { } + defaults: + style: false + row: false + display_extenders: { } + path: rest/gouvernance + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - request_format + - 'user.node_grants:view' + - user.permissions + tags: { } diff --git a/config/sync/views.view.partenaires.yml b/config/sync/views.view.partenaires.yml index aa54627..12bcea6 100644 --- a/config/sync/views.view.partenaires.yml +++ b/config/sync/views.view.partenaires.yml @@ -6,6 +6,8 @@ dependencies: - core.entity_view_mode.node.full - node.type.partenaire - system.menu.main + content: + - 'config_pages:intro_partenaires:c25a5c89-a3c0-4929-9c07-5c088a70109d' module: - node - rest @@ -164,7 +166,20 @@ display: replica: false query_tags: { } relationships: { } - header: { } + header: + entity_config_pages: + id: entity_config_pages + table: views + field: entity_config_pages + relationship: none + group_type: group + admin_label: '' + plugin_id: entity + empty: false + target: c25a5c89-a3c0-4929-9c07-5c088a70109d + view_mode: default + tokenize: true + bypass_access: false footer: { } display_extenders: { } cache_metadata: @@ -213,6 +228,10 @@ display: items_per_page: 10 style: type: serializer + options: + uses_fields: false + formats: + json: json row: type: data_entity options: { }