Problem/Motivation
We already switched from Annotation to Attributes, but it was for our own plugin types (PropType, Adapters, Sources).
But we forgot the other plugins (formatters...).
Proposed resolution
For each remaining plugin, check if Attributes are avaialble and do the conversion.
Issue fork ui_patterns-3500669
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 #2
smovs commentedComment #4
smovs commentedHi team!
I refactored annotations with attributes in the
ComponentFormatterandComponentPerItemFormatter.I set the
field_typesasentity_referencethere but as I know thesefield_typesare overridden in theui_patterns_field_formatters_field_formatter_info_alteranyway.Please review the MR.
Comment #5
pdureau commentedComment #6
grimreaperHi,
Not tested but reviewed. Ok for me. Was about to RTBC when I put 2 nitpicks comments for description.
@pdureau your opinion?
Comment #7
pdureau commentedI was not expecting us to add description but only to convert existing, but that's interesting.
I have proposed my takes.
Comment #8
smovs commentedI have updated the descriptions according to suggestions.
Please review
Comment #9
grimreaperThanks!
Comment #11
pdureau commented