Document better when submit/rebuild happens and doesn't happen in the form processing process

Created on 13 September 2013, over 11 years ago
Updated 11 February 2025, 12 days ago

API page: https://api.drupal.org/api/drupal/includes%21form.inc/function/drupal_re...

Enter a descriptive title (above) relating to function drupal_rebuild_form, then describe the problem you have found:

I think it's worth mentioning in the drupal_rebuild_form() function documentation that if the $form_state['rebuild'] is set to TRUE in a validation handler, this prevents the submit handlers from being called. It just says that you can set it both in validation and submission handlers. One more sentence won't hurt i think.. And personally it would have saved me hours of debugging the core.

πŸ“Œ Task
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

documentation

Created by

πŸ‡§πŸ‡¬Bulgaria psha

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.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thank you for creating this issue to improve Drupal.

    We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

Production build 0.71.5 2024