Form builder functions

  1. drupal
    1. 8
    2. 6
    3. 7

Functions that build an abstract representation of a HTML form.

All modules should declare their form builder functions to be in this group and each builder function should reference its validate and submit functions using @see. Conversely, validate and submit functions should reference the form builder function using @see. For examples, of this see system_modules_uninstall() or user_pass(), the latter of which has the following in its doxygen documentation:

@ingroup forms @see user_pass_validate(). @see user_pass_submit().

End of "defgroup forms".

Functions & methods

aggregator_admin_formForm builder; Configure the aggregator system.
aggregator_categorize_itemsForm builder; build the page list form.
aggregator_form_categoryForm builder; Generate a form to add/edit/delete aggregator categories.
aggregator_form_feedForm builder; Generate a form to add/edit feed sources.
aggregator_form_opmlForm builder; Generate a form to import feeds from OPML.
block_add_block_formForm builder for the add block form.
block_admin_configureForm builder for the block configuration form.
block_admin_display_formForm builder for the main blocks administration form.
book_admin_editBuild the form to administrate the hierarchy of a single book.
book_admin_settingsBuilds and returns the book settings form.
book_outline_formBuild the form to handle all book outline operations via the outline tab.
book_remove_formMenu callback; builds a form to confirm removal of a node from the book.
comment_admin_overviewForm builder for the comment overview administration form.
comment_confirm_deleteForm builder; Builds the confirmation form for deleting a single comment.
comment_formGenerate the basic commenting form, for appending to a node or display on a separate page.
comment_multiple_delete_confirmList the selected comments and verify that the admin wants to delete them.
comment_unpublish_by_keyword_action_formForm builder; Prepare a form for blacklisted keywords.
contextual_links_example_node_action_formForm callback; display the form for performing an example action on a node.
contextual_links_example_object_edit_formForm callback; display the form for editing our module's content.
dblog_clear_log_formReturn form for dblog clear button.
dblog_filter_formReturn form for dblog administration filters.
filter_admin_disableMenu callback; confirm deletion of a format.
filter_admin_format_formGenerate a text format form.
filter_admin_overviewMenu callback; Displays a list of all text formats and allows them to be rearranged.
forum_form_containerReturns a form for adding a container to the forum vocabulary
forum_form_forumReturns a form for adding a forum to the forum vocabulary
image_effect_delete_formForm builder; Form for deleting an image effect.
image_effect_formForm builder; Form for adding and editing image effects.
image_style_add_formForm builder; Form for adding a new image style.
image_style_delete_formForm builder; Form for deleting an image style.
image_style_formForm builder; Edit an image style name and effects order.
locale_language_selector_formForm builder callback to display language selection widget.
locale_translation_filter_formReturn form for locale translation filters.
node_type_formForm constructor for the node type editing form.
openid_user_addForm builder; Add an OpenID identity.
path_admin_filter_formReturn a form to filter URL aliases.
path_admin_formReturn a form for editing or creating an individual URL alias.
poll_cancel_formBuilds the cancel form for a poll.
poll_view_votingGenerates the voting form for a poll.
profile_admin_overviewForm builder to display a listing of all editable profile fields.
profile_field_formMenu callback: Generate a form to add/edit a user profile field.
search_admin_settingsMenu callback: displays the search module settings page.
search_boxForm builder; Output a search form for the search block's search box.
shortcut_link_addForm callback: builds the form for adding a new shortcut link.
shortcut_link_deleteForm callback: builds the confirmation form for deleting a shortcut link.
shortcut_link_editForm callback: builds the form for editing a shortcut link.
shortcut_set_add_formForm callback: builds the form for adding a shortcut set.
shortcut_set_customizeForm callback: builds the form for customizing shortcut sets.
shortcut_set_delete_formForm callback: builds the confirmation form for deleting a shortcut set.
shortcut_set_edit_formForm callback: builds the form for editing the shortcut set name.
shortcut_set_switchForm callback: builds the form for switching shortcut sets.
simpletest_settings_formProvides settings form for SimpleTest variables.
statistics_settings_formForm builder; Configure access logging.
system_actions_delete_formCreate the form for confirmation of deleting an action.
system_actions_manage_formDefine the form for the actions overview page.
system_add_date_format_type_formAdd new date type.
system_clean_url_settingsForm builder; Configure clean URL settings.
system_clear_cache_submitSubmit callback; clear system caches.
system_clear_page_cache_submitSubmit callback; clear the page cache.
system_cron_settingsForm builder; Cron form.
system_date_time_settingsForm builder; Configure the site date and time settings.
system_file_system_settingsForm builder; Configure the site file handling.
system_image_toolkit_settingsForm builder; Configure site image toolkit usage.
system_ip_blocking_formDefine the form for blocking IP addresses.
system_logging_settingsForm builder; Configure error reporting settings.
system_modulesMenu callback; provides module enable/disable interface.
system_modules_confirm_formDisplay confirmation form for required modules.
system_modules_uninstallBuilds a form of currently disabled modules.
system_modules_uninstall_confirm_formConfirm uninstall of selected modules.
system_performance_settingsForm builder; Configure site performance settings.
system_regional_settingsForm builder; Configure the site regional settings.
system_rss_feeds_settingsForm builder; Configure how the site handles RSS feeds.
system_run_cron_submitSubmit callback; run cron.
system_settings_formAdd default buttons to a form and set its prefix.
system_site_information_settingsForm builder; The general site information form.
system_site_maintenance_modeForm builder; Configure the site's maintenance status.
system_themes_admin_formForm to select the administration theme.
system_theme_settingsForm builder; display theme configuration for entire site and individual themes.
taxonomy_form_termForm function for the term edit form.
taxonomy_form_vocabularyForm builder for the vocabulary editing form.
taxonomy_overview_termsForm builder for the taxonomy terms overview.
taxonomy_overview_vocabulariesForm builder to list and manage vocabularies.
taxonomy_term_confirm_deleteForm builder for the term delete form.
taxonomy_vocabulary_confirm_deleteForm builder for the vocabulary delete confirmation form.
taxonomy_vocabulary_confirm_reset_alphabeticalForm builder to confirm resetting a vocabulary to alphabetical order.
trigger_unassignConfirm removal of an assigned action.
user_admin_accountForm builder; User administration page.
user_admin_permissionsMenu callback: administer permissions.
user_admin_roleForm to configure a single role.
user_admin_rolesForm to re-order roles or add a new one.
user_admin_settingsForm builder; Configure user settings for this site.
user_cancel_confirm_formForm builder; confirm form for cancelling user account.
user_filter_formForm builder; Return form for user administration filters.
user_loginForm builder; the main user login form.
user_passForm builder; Request a password reset.
user_profile_formForm builder; edit a user account or one of their profile categories.
user_register_formForm builder; the user registration form.

includes/, line 3