Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We need to pass some arguments to our node/add form via the url. I would like to add a the hook_references_dialog_entity_admin_paths_alter() hook to allow this to happen.
This would expose a hook allowing the developer to alter the urls of the various create/edit/add dialog links when entity reference module is being used to create the reference fields.
Patch attached
Comments
Comment #2
zestagio CreditAttribution: zestagio commentedThe patch from #1 can't be applied. I created new one
Comment #3
zestagio CreditAttribution: zestagio commentedComment #4
zestagio CreditAttribution: zestagio commentedComment #5
zestagio CreditAttribution: zestagio commentedComment #6
apadernoComment #8
zestagio CreditAttribution: zestagio commentedA dublicate of #2095029: Request new API: hook_references_dialog_entity_admin_paths_alter(&$admin_paths).