drupal_prepare_form
Related topics
| Name | Description |
|---|---|
| Form generation | Functions to enable the processing and display of HTML forms. |
Functions that call drupal_prepare_form()
| Name | Location | Description |
|---|---|---|
| drupal_get_form | includes/form.inc | Retrieves a form from a builder function, passes it on for processing, and renders the form or redirects to its destination as appropriate. In multi-step form scenarios, it handles properly processing the values using the previous step's form... |
| drupal_prepare_form | includes/form.inc | Prepares a structured form array by adding required elements, executing any hook_form_alter functions, and optionally inserting a validation token to prevent tampering. |
| drupal_process_form | includes/form.inc | This function is the heart of form API. The form gets built, validated and in appropriate cases, submitted. |
Functions called by drupal_prepare_form()
| Name | Location | Description |
|---|---|---|
| drupal_get_token | includes/common.inc | Generate a token based on $value, the current user session and private key. |
| drupal_prepare_form | includes/form.inc | Prepares a structured form array by adding required elements, executing any hook_form_alter functions, and optionally inserting a validation token to prevent tampering. |
| form_builder | includes/form.inc | Adds some required properties to each form element, which are used internally in the form API. This function also automatically assigns the value property from the $edit array, provided the element doesn't already have an assigned value. |
| form_clean_id | includes/form.inc | Remove invalid characters from an HTML ID attribute string. |
| module_implements | includes/module.inc | Determine which modules are implementing a hook. |
| _element_info | includes/form.inc | Retrieve the default properties for the defined element type. |
