Support Attribute-based Plugins

Created on 10 June 2024, 8 months ago

Problem/Motivation

Drupal is moving towards Attribute-based Plugins . The module currently only supports Annotation-based plugins.

Proposed resolution

The PreprocessorsPluginManager class needs to be updated to wrap the new discovery class that supports backwards compatibility.

Remaining tasks

* Convert PreprocessorsPluginManager to use AttributeDiscoveryWithAnnotations
* Test an Attribute-based plugin.
* Test backwards compatibility with Annotation-based plugin
* Confirm that YML discovery still works as well

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇨🇦Canada ksere Montreal

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

Comments & Activities

Production build 0.71.5 2024