Make the form callback as defined by hook_forms behave as $form[#base] in D5

Created on 8 November 2008, almost 16 years ago
Updated 16 August 2023, about 1 year ago

Ie if my callback is called foo_form, and I define that for my bar_form_123 form in hook_forms, then I expect that foo_form_validate and _:submit be called after submitting the form.

chx says: drupal_prepare_form sets the #submit and it's blissfully unaware of how to
form came into existence. I do not think drupal_retrieve_form stores the callback in a
property. It should be easy to do so, though.

✨ Feature request
Status

Postponed: needs info

Version

9.5

Component
FormΒ  β†’

Last updated 1 minute ago

Created by

πŸ‡©πŸ‡ͺGermany killes@www.drop.org

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024