Closed laryn closed 2 months ago
There's an issue in the Drupal queue to expand the usage of the sidebar to terms, so this is not far off-base:
I've added an .api
file with more detail, but this is implemented and two hooks added:
hook_gin_content_form_paths
hook_gin_content_form_paths_alter
The names are different than Gin for Drupal but the functionality is very similar, using paths instead of routes. Wildcards are allowed in the paths.
The sidebar edit experience could also be expanded to users and taxonomy terms.
And Gin for Drupal has a hook to make it easy to extend to custom entities/forms (
hook_gin_content_form_routes
). Maybe we can do something similar for Backdrop to allow selecting the forms and/or paths to apply this on?