diff --git a/composer.json b/composer.json index 663b0f0..5594030 100644 --- a/composer.json +++ b/composer.json @@ -23,10 +23,12 @@ "drupal/core-recommended": "^10.4", "drupal/entity_block": "^2.0", "drupal/footnotes": "^4.0@RC", + "drupal/linked_field": "^1.7", "drupal/page_manager": "^4.0@RC", "drupal/paragraphs": "^1.20", "drupal/redirect": "^1.12", "drupal/shield": "^1.8", + "drupal/structure_sync": "^2.0", "drupal/upgrade_status": "^4.3", "wikimedia/composer-merge-plugin": "^2.1" }, diff --git a/composer.lock b/composer.lock index f3faa8a..cd0832c 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": "6bf176d658d431efd6ddb4df31aa6bc4", + "content-hash": "70053163e5a41445ee80f289c51828ff", "packages": [ { "name": "asm89/stack-cors", @@ -5108,6 +5108,58 @@ "issues": "https://www.drupal.org/project/issues/link_attributes" } }, + { + "name": "drupal/linked_field", + "version": "1.7.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/linked_field.git", + "reference": "8.x-1.7" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/linked_field-8.x-1.7.zip", + "reference": "8.x-1.7", + "shasum": "c304792746a92d105f08931d2b6e09b20ee8d618" + }, + "require": { + "drupal/core": "^8.8 || ^9 || ^10 || ^11" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-1.7", + "datestamp": "1748842765", + "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": "jcnventura", + "homepage": "https://www.drupal.org/user/122464" + }, + { + "name": "vitaliyb98", + "homepage": "https://www.drupal.org/user/3514011" + }, + { + "name": "yannickoo", + "homepage": "https://www.drupal.org/user/531118" + } + ], + "description": "Adds the functionality to link fields to a specific destination.", + "homepage": "https://www.drupal.org/project/linked_field", + "support": { + "source": "https://git.drupalcode.org/project/linked_field" + } + }, { "name": "drupal/linkit", "version": "7.0.12", @@ -6668,6 +6720,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.4", diff --git a/config/sync/core.entity_view_display.block_content.logo_link.default.yml b/config/sync/core.entity_view_display.block_content.logo_link.default.yml index b56b074..1ae3894 100644 --- a/config/sync/core.entity_view_display.block_content.logo_link.default.yml +++ b/config/sync/core.entity_view_display.block_content.logo_link.default.yml @@ -9,6 +9,7 @@ dependencies: - image.style.thumbnail module: - image + - linked_field id: block_content.logo_link.default targetEntityType: block_content bundle: logo_link @@ -22,7 +23,14 @@ content: image_style: thumbnail image_loading: attribute: lazy - third_party_settings: { } + third_party_settings: + linked_field: + linked: '1' + type: field + destination: field_lien + advanced: + target: _blank + token: '' weight: 0 region: content hidden: diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 5151dd8..81422de 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -91,6 +91,7 @@ module: shield: 0 smart_trim: 0 smtp: 0 + structure_sync: 0 system: 0 taxonomy: 0 telephone: 0 @@ -111,6 +112,7 @@ module: content_translation: 10 views: 10 paragraphs: 11 + linked_field: 100 figli_starter_kit: 1000 theme: seven: 0 diff --git a/config/sync/linked_field.config.yml b/config/sync/linked_field.config.yml new file mode 100644 index 0000000..1fe3f7a --- /dev/null +++ b/config/sync/linked_field.config.yml @@ -0,0 +1,15 @@ +_core: + default_config_hash: PQasQC1X7aWGPpdeZMscZrE9K0RnK_czZQedrwTJor8 +attributes: + title: + label: '' + description: '' + target: + label: '' + description: '' + class: + label: '' + description: '' + rel: + label: Relationship + description: '' diff --git a/config/sync/structure_sync.data.yml b/config/sync/structure_sync.data.yml new file mode 100644 index 0000000..f5d16f7 --- /dev/null +++ b/config/sync/structure_sync.data.yml @@ -0,0 +1,21 @@ +blocks: + - + info: humanun + langcode: fr + uuid: 7c4d9f53-a289-4437-a374-15f8ac471359 + bundle: logo_link + revision_id: null + rev_id_current: null + fields: + field_lien: + - + uri: 'https://www.huma-num.fr/' + title: '' + options: { } + field_logo: + - + target_id: '3' + alt: 'Huma-Num ir*' + title: '' + width: '2560' + height: '818'