Problem/Motivation
It is not possible to avoid that multiple registries define different widgets with the same short code / machine name. This is because not all the registries are maintained by the same teams.
Proposed resolution
We should make the short code that gets ingested by appending the major version number and the machine name of the widget registry source it originated from. This will be a new field (rather than migrating shortcode), since the shortcode information about the widget type is still important.
Remaining tasks
- Create a new field and set it to populate with the said data components.
- Write an update hook to populate the field for existing widgets.
- Ensure that new ingestions compare based on this new identifier instead of
shortcode.
Issue fork widget_ingestion-3228267
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
e0ipsoGreen!