Install

Works with Drupal: ^10.5 || ^11.2 || ^12

Using 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() in AttributionBaseBlock and AttributionDefaultFormatter (static), and errorElement() in AttributionWidgetBase (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)

tobiasb

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 deprecated ConstraintViolation::$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-later in composer.json.

Misc

  • !29 Test against the next major version of Drupal core (12.x).
  • !27 Clean up the deprecation handling and the PHPStan job configuration in GitLab CI.
Created by: tobiasb
Created on: 3 Oct 2026 at 18:49 UTC
Last updated: 9 Oct 2026 at 20:53 UTC
Bug fixes

Other releases