Install
Works with Drupal: ^10.5 || ^11.2 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
133.99 KB
MD5: 87339b93846d1af01c5a7209c1879dfe
SHA-1: e5a9dd9ddbd94737de1c5e20df50b8d9d4ec9bd5
SHA-256: 4f0d60cb1b9603538461709e7f50cee42690b35b3cf30a453910fbbfd6f2ef94
Download zip
206.5 KB
MD5: 08910244cb88ce1b3e049fc297811ada
SHA-1: 144a9b882d0c7487bd68324b1571be20110100d5
SHA-256: f0dc9e560dba1e5c6b7b7e1575392958d9b658f73800722c6091c011efc3828a
Release notes
Bug fix release. Validation errors on attribution fields are now attached to the right form element, and the module is prepared for Drupal 12.
Upgrade notes
- For developers: several methods now declare native return types:
create()inAttributionBaseBlockandAttributionDefaultFormatter(static), anderrorElement()inAttributionWidgetBase(array|false). If a custom class extends one of these and overrides those methods, add the same return type.
Requirements
Unchanged: Drupal core ^10.5 || ^11.2 || ^12.
Contributors (1)
Changelog
Merge requests: 5 merged.
Changes since 1.2.0:
Bug
- !29 Resolve nested widget elements in
errorElement(). Violations on properties inside the source, author and AI prompt containers are now shown on the matching form element. This also replaces the deprecatedConstraintViolation::$arrayPropertyPath. - !30 Add native return types flagged by DebugClassLoader, which removes deprecation notices.
- !28 Cast the license label to a string before passing it to
t(). - Use the valid SPDX license identifier
GPL-2.0-or-laterin composer.json.