Problem/Motivation
In #3252386: Use PHP attributes instead of doctrine annotations we added support for attribute based plugin discovery.
As part of that issue we converted block and action plugins.
This issue is to convert \Drupal\patternkit\Annotation\PatternFieldProcessorplugins and \Drupal\patternkit\Annotation\PatternLibrary to use Attributes.
Proposed resolution
- Add a class to represent the new Attributes - Example
- Update the plugin manager constructor to include both the attribute and annotation class names - example
- Convert all plugins that use the annotation to use the new attribute - example
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork patternkit-3475637
Show commands
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
sluceroComment #4
petermallett commentedComment #6
sluceroMerged for inclusion in the 1.0 release.