Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand use of sidebar edit #125

Closed
laryn opened this issue Apr 16, 2024 · 2 comments · Fixed by #126
Closed

Expand use of sidebar edit #125

laryn opened this issue Apr 16, 2024 · 2 comments · Fixed by #126

Comments

@laryn
Copy link
Member

laryn commented Apr 16, 2024

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
Copy link
Member Author

laryn commented Apr 17, 2024

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
Copy link
Member Author

laryn commented Apr 17, 2024

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.

laryn added a commit that referenced this issue Apr 17, 2024
Also hide tonic integration for the moment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant