Fixed
Project:
Pathologic
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
23 Jul 2026 at 19:52 UTC
Updated:
23 Jul 2026 at 20:02 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 legacy Doctrine-style Annotation support will be dropped in Drupal 13, per https://www.drupal.org/node/3551049 .
We should retain Doctrine-style Annotation syntax for the time being to not affect backwards compatibility for sites running < Drupal 10.3.
N/A
Add PHP Attribute syntax to src/Plugin/Filter/FilterPathologic.php
N/A
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 #3
mark_fullmerI vouch that I tested these proposed changes in a separate context where the Doctrine Annotations were removed, establishing that the new PHP Attribute syntax was correctly being discovered and working. Given this and given the automated test passage, I'll proceed to merge this into the 2.0.x branch, as it does not have any affect on the module's backward compatibility with legacy versions of Drupal core.