From c1c9941c4b7f7948b5b344d6d14679f8f35a9f11 Mon Sep 17 00:00:00 2001 From: Joe Galluccio Date: Thu, 12 Feb 2026 18:19:33 -0500 Subject: [PATCH] new module and some config --- composer.json | 1 + composer.lock | 51 ++++++++++++++++++- ...y_form_display.paragraph.image.default.yml | 5 +- conf/drupal/config/core.extension.yml | 1 + 4 files changed, 56 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 315a15786c..1f75f4c396 100644 --- a/composer.json +++ b/composer.json @@ -175,6 +175,7 @@ "drupal/csv_field": "^3.0", "drupal/csv_serialization": "^2.0 || ^3.0", "drupal/datalayer": "^2", + "drupal/decorative_image_widget": "^1.0", "drupal/devel": "^5", "drupal/diff": "^1.7", "drupal/draggableviews": "^2.1", diff --git a/composer.lock b/composer.lock index fba60a6a2b..20b58662b5 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": "3e18a2b82efdddd50527c678699a2d87", + "content-hash": "2e7f50eb5857b1c3e75e53c24f7fcfaf", "packages": [ { "name": "akamai-open/edgegrid-auth", @@ -4715,6 +4715,55 @@ "issues": "https://www.drupal.org/project/issues/datalayer" } }, + { + "name": "drupal/decorative_image_widget", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/decorative_image_widget.git", + "reference": "1.0.3" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/decorative_image_widget-1.0.3.zip", + "reference": "1.0.3", + "shasum": "70fa54b7e78d1e5d021dc204a49ef02308ce7790" + }, + "require": { + "drupal/core": "^9.2 || ^10 || ^11" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "1.0.3", + "datestamp": "1768256827", + "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": "bkosborne", + "homepage": "https://www.drupal.org/user/788032" + }, + { + "name": "mably", + "homepage": "https://www.drupal.org/user/3375160" + } + ], + "description": "Modifies image widgets to require alt text OR be marked as decorative.", + "homepage": "https://drupal.org/project/decorative_image_widget", + "support": { + "source": "https://git.drupalcode.org/project/decorative_image_widget", + "issues": "https://www.drupal.org/project/issues/decorative_image_widget" + } + }, { "name": "drupal/devel", "version": "5.3.1", diff --git a/conf/drupal/config/core.entity_form_display.paragraph.image.default.yml b/conf/drupal/config/core.entity_form_display.paragraph.image.default.yml index f26aa653a3..53f6774d7a 100644 --- a/conf/drupal/config/core.entity_form_display.paragraph.image.default.yml +++ b/conf/drupal/config/core.entity_form_display.paragraph.image.default.yml @@ -14,6 +14,7 @@ dependencies: - image.style.thumbnail - paragraphs.paragraphs_type.image module: + - decorative_image_widget - image - text id: paragraph.image.default @@ -28,7 +29,9 @@ content: settings: progress_indicator: throbber preview_image_style: thumbnail - third_party_settings: { } + third_party_settings: + decorative_image_widget: + use_decorative_checkbox: true field_image_administrative_title: type: string_textfield weight: 2 diff --git a/conf/drupal/config/core.extension.yml b/conf/drupal/config/core.extension.yml index fedd4e098a..60398bd053 100644 --- a/conf/drupal/config/core.extension.yml +++ b/conf/drupal/config/core.extension.yml @@ -40,6 +40,7 @@ module: datalayer: 0 datetime: 0 datetime_range: 0 + decorative_image_widget: 0 diff: 0 draggableviews: 0 dropzonejs: 0