D11 Upgrade AdvancedLinkAttributesFieldFormatter error

Created on 16 June 2025, 20 days ago

Problem/Motivation

When I install this module in Drupal 11, I encounter this error:

TypeError: Drupal\ala\Plugin\Field\FieldFormatter\AdvancedLinkAttributesFieldFormatter::__construct(): Argument #1 ($token) must be of type Drupal\Core\Utility\Token, string given, called in /var/www/web/core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php on line 41 in Drupal\ala\Plugin\Field\FieldFormatter\AdvancedLinkAttributesFieldFormatter->__construct() (line 50 of /var/www/web/modules/contrib/ala/src/Plugin/Field/FieldFormatter/AdvancedLinkAttributesFieldFormatter.php).

🐛 Bug report
Status

Active

Version

2.6

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024