Problem/Motivation
The bundle plugin system is a great solution to provide entity bundles in code. However often you will still want to use the UI for managing fields, form- and view modes for each bundle.
It would be nice if the module also provides routing and and controllers for the bundles provided by the bundle plugins.
That way bundles may indicate the 'field_ui_base_route' property to point at the bundle plugin page and the field management tabs will automatically appear.
Steps to reproduce
Proposed resolution
Remaining tasks
I've added the necessary annotation to the 'entity_test_bundle_plugin' entity type as an example. It would be nice to implement tests.
User interface changes
API changes
Data model changes
Issue fork entity-3307593
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
nuezAttribute to Finalist
Comment #4
nuezComment #5
nuezComment #6
nuezComment #7
nuezComment #8
joachim CreditAttribution: joachim as a volunteer commentedHave a look at https://www.drupal.org/project/entity_admin_handlers - it sounds like you're doing something similar.
Comment #9
nuezI had a look and the module does exactly what I was looking for in pretty much the same way. I can also confirm it works.
However, could it be a good idea to add this to the contrib Entity module anyway? To make the bundle plugins a little but more intuitive and straightforward?
Up to the maintainers to close the issue or do something with this, for now I'll leave this on 'Needs review'.