Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Until now we had field diff builder plugins only declared as Plugin/Diff.
Now we want to introduce a second namespace for Layout and we have a clashing problem.
Proposed resolution
Rename Plugin/Diff to Plugin/diff/Field.
Then we have a cleaner pattern for other plugin types and a nice folder structure.
Note, short after this change, we need to release another alpha to allow other modules catching up with this name change.
Comment | File | Size | Author |
---|---|---|---|
#3 | rename_plugin_diff_to-2791943-3.patch | 8.28 KB | johnchque |
Comments
Comment #2
miro_dietikerThe release short after is needed. Otherwise the other modules won't be able to have passing tests when catching up with this change.
Comment #3
johnchqueMade those changes. Also update the documentation.
Comment #4
miro_dietikerThis looks clean to me.
Comment #5
miro_dietikerSo yeah, let's fix the namespaces now or never. :-)