Updated: Comment #N
Problem/Motivation
Basically everywhere else in core now has their own annotations. E.g. Block, Views plugins, CKEditor, Filter, etc... We still use the generic PluginID annotation for all handler types.
Proposed resolution
Add a specific annotation for each views handler type. ViewsField, ViewsArea, ViewsSort, ViewsFilter, ViewsRelationship, ViewsArgument
Remaining tasks
Do it
User interface changes
None
API changes
Switch in annotations to domain specific ones.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2211235-5.patch | 93.35 KB | damiankloip |
Comments
Comment #2
damiankloip commentedInitial patch has patch from #2204635: Convert ViewsHandlerManager to DefaultPluginManager included. As that is not committed yet, but should be soon. We will want that for this.
Comment #3
damiankloip commentedSorry, didn't diff against 8.x!!
My comment in #2 still applies here.
Comment #4
dawehner+1 for the idea in general!
Let's wait on the other issue and get it in. This is a improvement for the DX.
Comment #5
damiankloip commented#2204635: Convert ViewsHandlerManager to DefaultPluginManager is in. Rerolled to remove that from the patch.
Comment #6
dawehnerAwesome! Thank you for that quite big patch.
Comment #8
damiankloip commented5: 2211235-5.patch queued for re-testing.
Comment #9
dawehner.
Comment #11
damiankloip commented5: 2211235-5.patch queued for re-testing.
Comment #12
damiankloip commentedComment #13
catchCommitted/pushed to 8.x, thanks!