Support Attribute-based Plugins

Created on 10 June 2024, 20 days 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
* Update documentation - https://www.drupal.org/docs/extending-drupal/contributed-modules/contrib... β†’

✨ 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.69.0 2024