backdrop-contrib / gin

Admin theme with a strong focus on improving the Editorial Experience.
https://backdropcms.org/project/gin
GNU General Public License v2.0
5 stars 2 forks source link

Expand use of sidebar edit #125

Closed laryn closed 2 months ago

laryn commented 3 months ago

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?

laryn commented 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:

laryn commented 2 months ago

I've added an .api file with more detail, but this is implemented and two hooks added:

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.