Edit's plugin interface is still called EditPluginInterface
. That's utterly unhelpful/vague. It's named like that because it was introduced back in the day when Edit still used Create.js, and we all decided that it wasn't a good idea to call it CreateJSWidgetPluginInterface
, also because these plugins would be the missing link between Edit and Create.js: they'd contain the glue.
So, now that Edit is stable, it is high time to give it its final name.
Finally, it has become customary AFAICT to have the plugin interface, the plugin base class (if any) and the plugin manager all live in the lib\Drupal\<modulename>\Plugin
directory. Edit already does the latter, but the former two things it does not yet do.
This should be done after #2144879: Brush up MetadataGeneratorInterface::generate(Field|Entity)(): use FieldItemListInterface + better naming lands.
Comment | File | Size | Author |
---|---|---|---|
#2 | edit_plugin_cleanup-2169505-2.patch | 6.56 KB | Wim Leers |
Comments
Comment #1
Wim LeersComment #2
Wim Leers#2144879: Brush up MetadataGeneratorInterface::generate(Field|Entity)(): use FieldItemListInterface + better naming landed, now we can do this.
Comment #3
jessebeach CreditAttribution: jessebeach commentedThis patch contains the following Class renames.
Comment #4
jessebeach CreditAttribution: jessebeach commentedManual testing reveals no regressions.
Comment #5
webchickCommitted and pushed to 8.x. Thanks!
Comment #6
Wim Leers