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.
API page: http://api.drupal.org/api/drupal/includes%21form.inc/function/form_proce...
The documentation page reports information about autocomplete callbacks which is not pertinent with the process function used for the "vertical tabs" form element. The documentation for Drupal 8 for the same function doesn't contain the same information.
Comment | File | Size | Author |
---|---|---|---|
#1 | remove_extra-information-1888454-1.patch | 1.68 KB | apaderno |
Comments
Comment #1
apadernoComment #2
jhodgdonHuh. I wonder where that documentation belongs or where it came from? Let's see.
In D8, some of it is on form_process_autocomplete(), but that function doesn't appear to exist in D7. I don't see any other place to put it either. So, I guess this patch is fine for D7. Thanks! I'll get it committed shortly.
Comment #3
jhodgdonCommitted to 7.x -- thanks again!
Comment #4
apadernoCould that information go in the #autocomplete_path documentation? I am not sure it is really necessary, but that seems a pertinent place.
IMO, that information is equally valid for any menu callback, not just the menu callback used for an autocomplete. Such information is already present in the documentation for
hook_menu()
; repeating it in another documentation page doesn't seem necessary.Comment #5
jhodgdonI think you're right. The information is already in hook_menu() docs and I don't think we need to have it put anywhere else.