form.inc

Functions for form and batch generation and processing.

File

core/includes/form.inc

Functions

Name Description
batch_get Retrieves the current batch.
batch_process Processes the batch.
batch_set Adds a new batch.
form_get_options Returns the indexes of a select element's options matching a given key.
form_select_options Converts an options form element into a structured array for output.
template_preprocess_checkboxes Prepares variables for checkboxes templates.
template_preprocess_details Prepares variables for details element templates.
template_preprocess_fieldset Prepares variables for fieldset element templates.
template_preprocess_form Prepares variables for form templates.
template_preprocess_form_element Returns HTML for a form element. Prepares variables for form element templates.
template_preprocess_form_element_label Prepares variables for form label templates.
template_preprocess_input Prepares variables for input templates.
template_preprocess_radios Prepares variables for radios templates.
template_preprocess_select Prepares variables for select element templates.
template_preprocess_textarea Prepares variables for textarea templates.
template_preprocess_vertical_tabs Prepares variables for vertical tabs templates.
_batch_populate_queue Populates a job queue with the operations of a batch set.
_batch_queue Returns a queue object for a batch set.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!includes!form.inc/8.1.x