diff --git a/composer.json b/composer.json index 309fbb7..f027595 100644 --- a/composer.json +++ b/composer.json @@ -37,6 +37,7 @@ "drupal/quick_node_clone": "^1.18", "drupal/simple_sitemap": "^4.1", "drupal/social_media_links": "^2.9", + "drupal/structure_sync": "^2.0", "drupal/views_autocomplete_filters": "^2.0", "drupal/views_block_area": "^1.0@beta", "drupal/viewsreference": "^2.0@beta", diff --git a/composer.lock b/composer.lock index e480f1b..ca3214b 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": "9560a6f5de3794225f71e23951e5f1f8", + "content-hash": "a834c486480c36ee6cb474b733b8b034", "packages": [ { "name": "asm89/stack-cors", @@ -7251,6 +7251,87 @@ "source": "https://git.drupalcode.org/project/sophron" } }, + { + "name": "drupal/structure_sync", + "version": "2.0.8", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/structure_sync.git", + "reference": "2.0.8" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/structure_sync-2.0.8.zip", + "reference": "2.0.8", + "shasum": "3f1bd24d7f048cdd9f49e178af9fa47d291d3525" + }, + "require": { + "drupal/core": "^8 || ^9 || ^10 || ^11", + "php": ">=7.1" + }, + "require-dev": { + "drush/drush": "^9 || ^10 || ^11 || ^12 || ^13" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "2.0.8", + "datestamp": "1728580642", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + }, + "drush": { + "services": { + "drush.services.yml": "^9 || ^10 || ^11 || ^12 || ^13" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "colan", + "homepage": "https://www.drupal.org/user/58704" + }, + { + "name": "fidovdbos", + "homepage": "https://www.drupal.org/user/1494332" + }, + { + "name": "joachim", + "homepage": "https://www.drupal.org/user/107701" + }, + { + "name": "louis-cuny", + "homepage": "https://www.drupal.org/user/3606332" + }, + { + "name": "mparker17", + "homepage": "https://www.drupal.org/user/536298" + }, + { + "name": "spiderman", + "homepage": "https://www.drupal.org/user/1631" + }, + { + "name": "timKruijsen", + "homepage": "https://www.drupal.org/user/3513437" + }, + { + "name": "vinlaurens", + "homepage": "https://www.drupal.org/user/2945689" + } + ], + "description": "Tool for syncing structural data that is stored as content.", + "homepage": "https://www.drupal.org/project/structure_sync", + "support": { + "source": "https://git.drupalcode.org/project/structure_sync" + } + }, { "name": "drupal/synonyms", "version": "2.1.3", @@ -13040,7 +13121,7 @@ }, "prefer-stable": true, "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, + "platform": [], + "platform-dev": [], "plugin-api-version": "2.6.0" } diff --git a/config/sync/block_content.type.link.yml b/config/sync/block_content.type.link.yml new file mode 100644 index 0000000..0f7ccaf --- /dev/null +++ b/config/sync/block_content.type.link.yml @@ -0,0 +1,8 @@ +uuid: 19a0fbf2-ca25-45d7-b5dd-812acab719cf +langcode: fr +status: true +dependencies: { } +id: link +label: Link +revision: 0 +description: '' diff --git a/config/sync/core.entity_form_display.block_content.link.default.yml b/config/sync/core.entity_form_display.block_content.link.default.yml new file mode 100644 index 0000000..198c7ac --- /dev/null +++ b/config/sync/core.entity_form_display.block_content.link.default.yml @@ -0,0 +1,38 @@ +uuid: fa11d5c4-5120-4fb2-a580-dba21e05dec5 +langcode: fr +status: true +dependencies: + config: + - block_content.type.link + - field.field.block_content.link.field_link + module: + - link +id: block_content.link.default +targetEntityType: block_content +bundle: link +mode: default +content: + field_link: + type: link_default + weight: 26 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + info: + type: string_textfield + weight: -5 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + langcode: + type: language_select + weight: 2 + region: content + settings: + include_locked: true + third_party_settings: { } +hidden: { } diff --git a/config/sync/core.entity_view_display.block_content.link.default.yml b/config/sync/core.entity_view_display.block_content.link.default.yml new file mode 100644 index 0000000..115eb67 --- /dev/null +++ b/config/sync/core.entity_view_display.block_content.link.default.yml @@ -0,0 +1,29 @@ +uuid: 75b7884d-1fa3-41fe-b0b4-ffc7f3fcbbca +langcode: fr +status: true +dependencies: + config: + - block_content.type.link + - field.field.block_content.link.field_link + module: + - link +id: block_content.link.default +targetEntityType: block_content +bundle: link +mode: default +content: + field_link: + type: link + label: visually_hidden + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 0 + region: content +hidden: + langcode: true + search_api_excerpt: true diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index b02f544..530a5a4 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -108,6 +108,7 @@ module: smart_trim: 0 smtp: 0 social_media_links: 0 + structure_sync: 0 system: 0 taxonomy: 0 telephone: 0 diff --git a/config/sync/field.field.block_content.link.field_link.yml b/config/sync/field.field.block_content.link.field_link.yml new file mode 100644 index 0000000..682fa1a --- /dev/null +++ b/config/sync/field.field.block_content.link.field_link.yml @@ -0,0 +1,23 @@ +uuid: a4e5f0a0-3de0-42c0-a4ed-e2a1887e145f +langcode: fr +status: true +dependencies: + config: + - block_content.type.link + - field.storage.block_content.field_link + module: + - link +id: block_content.link.field_link +field_name: field_link +entity_type: block_content +bundle: link +label: Link +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + title: 1 + link_type: 17 +field_type: link diff --git a/config/sync/field.storage.block_content.field_link.yml b/config/sync/field.storage.block_content.field_link.yml new file mode 100644 index 0000000..3e7bfda --- /dev/null +++ b/config/sync/field.storage.block_content.field_link.yml @@ -0,0 +1,19 @@ +uuid: 6bd9cb8e-662d-436c-9a42-134aa4149786 +langcode: fr +status: true +dependencies: + module: + - block_content + - link +id: block_content.field_link +field_name: field_link +entity_type: block_content +type: link +settings: { } +module: link +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/language.content_settings.block_content.link.yml b/config/sync/language.content_settings.block_content.link.yml new file mode 100644 index 0000000..3bf908e --- /dev/null +++ b/config/sync/language.content_settings.block_content.link.yml @@ -0,0 +1,11 @@ +uuid: ed559255-d60a-46b9-911b-9bbe4a928ff7 +langcode: fr +status: true +dependencies: + config: + - block_content.type.link +id: block_content.link +target_entity_type_id: block_content +target_bundle: link +default_langcode: site_default +language_alterable: false diff --git a/config/sync/structure_sync.data.yml b/config/sync/structure_sync.data.yml new file mode 100644 index 0000000..b8584f0 --- /dev/null +++ b/config/sync/structure_sync.data.yml @@ -0,0 +1,14 @@ +blocks: + - + info: 'Lien actus' + langcode: fr + uuid: 764294aa-409f-4668-88bf-dc71e186915c + bundle: link + revision_id: null + rev_id_current: null + fields: + field_link: + - + uri: 'internal:/actualites' + title: 'Voir toutes les actualités' + options: { } diff --git a/config/sync/views.view.actus.yml b/config/sync/views.view.actus.yml index 7bd0d35..309d2cf 100644 --- a/config/sync/views.view.actus.yml +++ b/config/sync/views.view.actus.yml @@ -16,6 +16,7 @@ dependencies: - node - taxonomy - user + - views_block_area id: actus label: Actus module: views @@ -412,7 +413,12 @@ display: plugin_id: standard required: false header: { } - footer: { } + footer: + views_block_area: + id: views_block_area + table: views + field: views_block_area + plugin_id: views_block_area display_extenders: { } cache_metadata: max-age: -1 @@ -540,7 +546,19 @@ display: defaults: filters: false filter_groups: false + footer: false display_description: '' + footer: + views_block_area: + id: views_block_area + table: views + field: views_block_area + relationship: none + group_type: group + admin_label: '' + plugin_id: views_block_area + block_id: 'block_content:764294aa-409f-4668-88bf-dc71e186915c' + empty: false display_extenders: matomo: enabled: false