Closed (duplicate)
Project:
Linkit
Version:
7.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
20 May 2026 at 20:38 UTC
Updated:
20 May 2026 at 20:57 UTC
Jump to comment: Most recent
Drupal 10.3 made available defining plugins using PHP Attributes (https://www.drupal.org/docs/drupal-apis/plugin-api/attribute-based-plugins), and these attributes on plugins are **required** in Drupal 12.
Currently, Linkit defines its Matcher and Substitution plugins using Doctrine-style annotations. These should be retained for the time being for backward compatibility (sites < 10.3), but PHP Attribute support should be added for forward compatibility (Drupal 12+).
Add the Attribute(s)
N/A
N/A
N/A
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mark_fullmerDuplicate of #3536067: [Drupal 12] Support attribute based plugin discovery