191 functions implement hook_form()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

aggregator_admin_form in modules/aggregator/aggregator.admin.inc
Form constructor for the aggregator system settings.
aggregator_page_category_form in modules/aggregator/aggregator.pages.inc
Page callback: Displays a form containing items aggregated in a category.
aggregator_page_source_form in modules/aggregator/aggregator.pages.inc
Page callback: Displays a form with all items captured from a feed.
ajax_forms_test_ajax_commands_form in modules/simpletest/tests/ajax_forms_test.module
Form to display the Ajax Commands.
ajax_forms_test_lazy_load_form in modules/simpletest/tests/ajax_forms_test.module
Form builder: Builds a form that triggers a simple AJAX callback.
ajax_forms_test_simple_form in modules/simpletest/tests/ajax_forms_test.module
A basic form used to test form_state['values'] during callback.
ajax_forms_test_validation_form in modules/simpletest/tests/ajax_forms_test.module
This form and its related submit and callback functions demonstrate not validating another form element when a single Ajax element is triggered.
ajax_get_form in includes/ajax.inc
Gets a form submitted via #ajax during an Ajax callback.
ajax_process_form in includes/ajax.inc
Form element processing handler for the #ajax form property.
authorize_filetransfer_form in includes/authorize.inc
Form constructor for the file transfer authorization form.
batch_test_chained_form in modules/simpletest/tests/batch_test.module
Form with chained submit callbacks.
batch_test_mock_form in modules/simpletest/tests/batch_test.module
A simple form with a textfield and submit button.
batch_test_multistep_form in modules/simpletest/tests/batch_test.module
Multistep form.
batch_test_no_form in modules/simpletest/tests/batch_test.module
Menu callback: fire a batch process without a form submission.
batch_test_simple_form in modules/simpletest/tests/batch_test.module
Simple form.
block_add_block_form in modules/block/block.admin.inc
Form constructor for the add block form.
block_admin_display_form in modules/block/block.admin.inc
Form constructor for the main block administration form.
block_custom_block_form in modules/block/block.module
Form constructor for the custom block form.
blog_form in modules/blog/blog.module
Implements hook_form().
book_outline_form in modules/book/book.pages.inc
Form constructor for the book outline form.
book_remove_form in modules/book/book.pages.inc
Form constructor to confirm removal of a node from a book.
color_scheme_form in modules/color/color.module
Form constructor for the color configuration form for a particular theme.
comment_form in modules/comment/comment.module
Generate the basic commenting form, for appending to a node or display on a separate page.
comment_unpublish_by_keyword_action_form in modules/comment/comment.module
Form builder; Prepare a form for blacklisted keywords.
confirm_form in modules/system/system.module
Generates a form array for a confirmation form.
contact_category_delete_form in modules/contact/contact.admin.inc
Form constructor for the contact category deletion form.
contact_category_edit_form in modules/contact/contact.admin.inc
Form constructor for the category edit form.
contact_personal_form in modules/contact/contact.pages.inc
Form constructor for the personal contact form.
contact_site_form in modules/contact/contact.pages.inc
Form constructor for the site-wide contact form.
dblog_clear_log_form in modules/dblog/dblog.admin.inc
Form constructor for the form that clears out the log.
dblog_filter_form in modules/dblog/dblog.admin.inc
Form constructor for the database logging filter form.
drupal_build_form in includes/form.inc
Builds and process a form based on a form id.
drupal_get_form in includes/form.inc
Returns a renderable form array for a given form ID.
drupal_prepare_form in includes/form.inc
Prepares a structured form array.
drupal_process_form in includes/form.inc
Processes a form submission.
drupal_rebuild_form in includes/form.inc
Constructs a new $form from the information in $form_state.
drupal_redirect_form in includes/form.inc
Redirects the user to a URL after a form has been processed.
drupal_retrieve_form in includes/form.inc
Retrieves the structured array that defines a given form.
drupal_validate_form in includes/form.inc
Validates user-submitted form data in the $form_state array.
example_form in external_documentation/developer/example.profile
Form API array definition for the example form.
field_attach_form in modules/field/field.attach.inc
Add form elements for all fields for an entity to a form structure.
field_default_form in modules/field/field.form.inc
Creates a form element for a field and can populate it with a default value.
field_multiple_value_form in modules/field/field.form.inc
Special handling to create form elements for multiple values.
field_test_entity_form in modules/field/tests/field_test.entity.inc
Test_entity form.
field_test_entity_nested_form in modules/field/tests/field_test.entity.inc
Form combining two separate entities.
field_test_field_formatter_settings_form in modules/field/tests/field_test.field.inc
Implements hook_field_formatter_settings_form().
field_test_field_instance_settings_form in modules/field/tests/field_test.field.inc
Implements hook_field_instance_settings_form().
field_test_field_settings_form in modules/field/tests/field_test.field.inc
Implements hook_field_settings_form().
field_test_field_widget_form in modules/field/tests/field_test.field.inc
Implements hook_field_widget_form().
field_test_field_widget_settings_form in modules/field/tests/field_test.field.inc
Implements hook_field_widget_settings_form().
field_ui_display_overview_form in modules/field_ui/field_ui.admin.inc
Form constructor for the field display settings for a given view mode.
field_ui_field_delete_form in modules/field_ui/field_ui.admin.inc
Form constructor for removing a field instance from a bundle.
field_ui_field_edit_form in modules/field_ui/field_ui.admin.inc
Form constructor for the field instance settings form.
field_ui_field_overview_form in modules/field_ui/field_ui.admin.inc
Form constructor for the 'Manage fields' form of a bundle.
field_ui_field_settings_form in modules/field_ui/field_ui.admin.inc
Form constructor for the field settings edit page.
field_ui_widget_type_form in modules/field_ui/field_ui.admin.inc
Form constructor for the widget selection form.
file_field_instance_settings_form in modules/file/file.field.inc
Implements hook_field_instance_settings_form().
file_field_settings_form in modules/file/file.field.inc
Implements hook_field_settings_form().
file_field_widget_form in modules/file/file.field.inc
Implements hook_field_widget_form().
file_field_widget_settings_form in modules/file/file.field.inc
Implements hook_field_widget_settings_form().
file_module_test_form in modules/file/tests/file_module_test.module
Form constructor for testing a 'managed_file' element.
filter_admin_format_form in modules/filter/filter.admin.inc
Form constructor for the text format add/edit form.
form_label_test_form in modules/simpletest/tests/form_test.module
A form for testing form labels and required marks.
form_test_alter_form in modules/simpletest/tests/form_test.module
Form builder for testing hook_form_alter() and hook_form_FORM_ID_alter().
form_test_cache_form in modules/simpletest/tests/form_test.module
A simple form for testing form caching.
form_test_double_form in modules/simpletest/tests/form_test.module
Menu callback returns two instances of the same form.
form_test_form_rebuild_preserve_values_form in modules/simpletest/tests/form_test.module
Form builder for testing preservation of values during a rebuild.
form_test_form_state_values_clean_advanced_form in modules/simpletest/tests/form_test.module
Form constructor for the form_state_values_clean() test.
form_test_form_state_values_clean_form in modules/simpletest/tests/form_test.module
Form builder for form_state_values_clean() test.
form_test_limit_validation_errors_form in modules/simpletest/tests/form_test.module
Builds a simple form with a button triggering partial validation.
form_test_programmatic_form in modules/simpletest/tests/form_test.module
Form builder to test programmatic form submissions.
form_test_storage_form in modules/simpletest/tests/form_test.module
A multistep form for testing the form storage.
form_test_storage_page_cache_form in modules/simpletest/tests/form_test.module
A simple form for testing form storage when page caching is enabled.
form_test_validate_form in modules/simpletest/tests/form_test.module
Form builder for testing drupal_validate_form().
form_test_validate_required_form in modules/simpletest/tests/form_test.module
Form constructor to test the #required property.
form_test_wrapper_callback_form in modules/simpletest/tests/form_test.module
Form builder for form wrapper callback test.
forum_form in modules/forum/forum.module
Implements hook_form().
image_crop_form in modules/image/image.admin.inc
Form structure for the image crop form.
image_effect_delete_form in modules/image/image.admin.inc
Form builder; Form for deleting an image effect.
image_effect_form in modules/image/image.admin.inc
Form builder; Form for adding and editing image effects.
image_field_formatter_settings_form in modules/image/image.field.inc
Implements hook_field_formatter_settings_form().
image_field_instance_settings_form in modules/image/image.field.inc
Implements hook_field_instance_settings_form().
image_field_settings_form in modules/image/image.field.inc
Implements hook_field_settings_form().
image_field_widget_form in modules/image/image.field.inc
Implements hook_field_widget_form().
image_field_widget_settings_form in modules/image/image.field.inc
Implements hook_field_widget_settings_form().
image_resize_form in modules/image/image.admin.inc
Form structure for the image resize form.
image_rotate_form in modules/image/image.admin.inc
Form structure for the image rotate form.
image_scale_form in modules/image/image.admin.inc
Form structure for the image scale form.
image_style_add_form in modules/image/image.admin.inc
Form builder; Form for adding a new image style.
image_style_delete_form in modules/image/image.admin.inc
Form builder; Form for deleting an image style.
image_style_form in modules/image/image.admin.inc
Form builder; Edit an image style name and effects order.
image_style_revert_form in modules/image/image.admin.inc
Confirmation form to revert a database style to its default.
install_configure_form in includes/install.core.inc
Form constructor for a form to configure the new site.
install_select_locale_form in includes/install.core.inc
Form constructor for the language selection form.
install_select_profile_form in includes/install.core.inc
Form constructor for the profile selection form.
install_settings_form in includes/install.core.inc
Form constructor for a form to configure and rewrite settings.php.
list_field_settings_form in modules/field/modules/list/list.module
Implements hook_field_settings_form().
locale_date_format_form in modules/locale/locale.admin.inc
Provide date localization configuration options to users.
locale_date_format_reset_form in modules/locale/locale.admin.inc
Reset locale specific date formats to the global defaults.
locale_languages_configure_form in modules/locale/locale.admin.inc
Setting for language negotiation options
locale_languages_custom_form in modules/locale/locale.admin.inc
Custom language addition form.
locale_languages_delete_form in modules/locale/locale.admin.inc
User interface for the language deletion confirmation screen.
locale_languages_edit_form in modules/locale/locale.admin.inc
Editing screen for a particular language.
locale_languages_overview_form in modules/locale/locale.admin.inc
User interface for the language overview screen.
locale_languages_predefined_form in modules/locale/locale.admin.inc
Predefined language setup form.
locale_language_providers_session_form in modules/locale/locale.admin.inc
The URL language provider configuration form.
locale_language_providers_url_form in modules/locale/locale.admin.inc
The URL language provider configuration form.
locale_language_selector_form in modules/locale/locale.module
Form builder callback to display language selection widget.
locale_translate_delete_form in modules/locale/locale.admin.inc
User interface for the string deletion confirmation screen.
locale_translate_edit_form in modules/locale/locale.admin.inc
User interface for string editing.
locale_translate_export_pot_form in modules/locale/locale.admin.inc
Translation template export form.
locale_translate_export_po_form in modules/locale/locale.admin.inc
Form to export PO files for the languages provided.
locale_translate_import_form in modules/locale/locale.admin.inc
User interface for the translation import screen.
locale_translation_filter_form in modules/locale/locale.admin.inc
Return form for locale translation filters.
menu_item_delete_form in modules/menu/menu.admin.inc
Build a confirm form for deletion of a single menu link.
menu_overview_form in modules/menu/menu.admin.inc
Form for editing an entire menu tree at once.
node_assign_owner_action_form in modules/node/node.module
Generates the settings form for node_assign_owner_action().
node_content_form in modules/node/node.module
Implements hook_form().
node_filter_form in modules/node/node.admin.inc
Returns the node administration filters form array to node_admin_content().
node_form in modules/node/node.pages.inc
Form constructor for the node add/edit form.
node_type_form in modules/node/content_types.inc
Form constructor for the node type editing form.
node_unpublish_by_keyword_action_form in modules/node/node.module
Generates settings form for node_unpublish_by_keyword_action().
number_field_formatter_settings_form in modules/field/modules/number/number.module
Implements hook_field_formatter_settings_form().
number_field_instance_settings_form in modules/field/modules/number/number.module
Implements hook_field_instance_settings_form().
number_field_settings_form in modules/field/modules/number/number.module
Implements hook_field_settings_form().
number_field_widget_form in modules/field/modules/number/number.module
Implements hook_field_widget_form().
openid_redirect_form in modules/openid/openid.inc
openid_user_delete_form in modules/openid/openid.pages.inc
Menu callback; Delete the specified OpenID identity from the system.
options_field_widget_form in modules/field/modules/options/options.module
Implements hook_field_widget_form().
options_field_widget_settings_form in modules/field/modules/options/options.module
Implements hook_field_widget_settings_form().
path_admin_filter_form in modules/path/path.admin.inc
Form constructor for the path admin overview filter form.
path_admin_form in modules/path/path.admin.inc
Form constructor for the path administration form.
poll_cancel_form in modules/poll/poll.module
Builds the cancel form for a poll.
poll_form in modules/poll/poll.module
Implements hook_form().
profile_field_form in modules/profile/profile.admin.inc
Menu callback: Generate a form to add/edit a user profile field.
search_embedded_form_form in modules/search/tests/search_embedded_form.module
Builds a form for embedding in search results for testing.
search_form in modules/search/search.module
Builds a search form.
shortcut_set_add_form in modules/shortcut/shortcut.admin.inc
Form callback: builds the form for adding a shortcut set.
shortcut_set_delete_form in modules/shortcut/shortcut.admin.inc
Form callback: builds the confirmation form for deleting a shortcut set.
shortcut_set_edit_form in modules/shortcut/shortcut.admin.inc
Form callback: builds the form for editing the shortcut set name.
simpletest_result_form in modules/simpletest/simpletest.pages.inc
Test results form for $test_id.
simpletest_settings_form in modules/simpletest/simpletest.pages.inc
Provides settings form for SimpleTest variables.
simpletest_test_form in modules/simpletest/simpletest.pages.inc
List tests arranged in groups that can be selected and run.
statistics_settings_form in modules/statistics/statistics.admin.inc
Form constructor for the statistics administration form.
system_actions_delete_form in modules/system/system.admin.inc
Create the form for confirmation of deleting an action.
system_actions_manage_form in modules/system/system.admin.inc
Define the form for the actions overview page.
system_add_date_format_type_form in modules/system/system.admin.inc
Add new date type.
system_configure_date_formats_form in modules/system/system.admin.inc
Allow users to add additional date formats.
system_date_delete_format_form in modules/system/system.admin.inc
Menu callback; present a form for deleting a date format.
system_delete_date_format_type_form in modules/system/system.admin.inc
Menu callback; present a form for deleting a date type.
system_goto_action_form in modules/system/system.module
Settings form for system_goto_action().
system_ip_blocking_form in modules/system/system.admin.inc
Define the form for blocking IP addresses.
system_message_action_form in modules/system/system.module
system_modules_confirm_form in modules/system/system.admin.inc
Display confirmation form for required modules.
system_modules_uninstall_confirm_form in modules/system/system.admin.inc
Confirm uninstall of selected modules.
system_send_email_action_form in modules/system/system.module
Return a form definition so the Send email action can be configured.
system_settings_form in modules/system/system.module
Sets up a form to save information automatically.
system_themes_admin_form in modules/system/system.admin.inc
Form to select the administration theme.
taxonomy_field_settings_form in modules/taxonomy/taxonomy.module
Implements hook_field_settings_form().
taxonomy_field_widget_form in modules/taxonomy/taxonomy.module
Implements hook_field_widget_form().
taxonomy_test_simple_form in modules/simpletest/tests/taxonomy_test.module
Form builder for testing submission on taxonomy terms overview page.
template_preprocess_block_admin_display_form in modules/block/block.admin.inc
Processes variables for block-admin-display-form.tpl.php.
template_preprocess_dashboard_admin_display_form in modules/dashboard/dashboard.module
Preprocesses variables for block-admin-display-form.tpl.php.
template_preprocess_search_block_form in modules/search/search.module
Process variables for search-block-form.tpl.php.
text_field_formatter_settings_form in modules/field/modules/text/text.module
Implements hook_field_formatter_settings_form().
text_field_instance_settings_form in modules/field/modules/text/text.module
Implements hook_field_instance_settings_form().
text_field_settings_form in modules/field/modules/text/text.module
Implements hook_field_settings_form().
text_field_widget_form in modules/field/modules/text/text.module
Implements hook_field_widget_form().
text_field_widget_settings_form in modules/field/modules/text/text.module
Implements hook_field_widget_settings_form().
theme_color_scheme_form in modules/color/color.module
Returns HTML for a theme's color form.
theme_confirm_form in modules/system/system.module
Returns HTML for a confirmation form.
theme_field_multiple_value_form in modules/field/field.form.inc
Returns HTML for an individual form element.
theme_form in includes/form.inc
Returns HTML for a form.
theme_forum_form in modules/forum/forum.admin.inc
Returns HTML for a forum form.
theme_locale_date_format_form in modules/locale/locale.admin.inc
Returns HTML for a locale date format form.
theme_locale_languages_configure_form in modules/locale/locale.admin.inc
Returns HTML for a language configuration form.
theme_locale_languages_overview_form in modules/locale/locale.admin.inc
Returns HTML for the language overview form.
theme_menu_overview_form in modules/menu/menu.admin.inc
Returns HTML for the menu overview form into a table.
theme_system_settings_form in modules/system/system.module
Returns HTML for a system settings form.
theme_update_manager_update_form in modules/update/update.manager.inc
Returns HTML for the first page in the process of updating projects.
trigger_assign_form in modules/trigger/trigger.admin.inc
Returns the form for assigning an action to a trigger.
trigger_test_system_cron_conf_action_form in modules/trigger/tests/trigger_test.module
Form for configurable test action.
update_manager_install_form in modules/update/update.manager.inc
Form constructor for the install form of the Update Manager module.
update_manager_update_form in modules/update/update.manager.inc
Form constructor for the update form of the Update Manager module.
update_manager_update_ready_form in modules/update/update.manager.inc
Form constructor for the update ready form.
update_script_selection_form in ./update.php
Form constructor for the list of available database module updates.
user_account_form in modules/user/user.module
Helper function to add default user account fields to user registration and edit form.
user_cancel_confirm_form in modules/user/user.pages.inc
Form builder; confirm form for cancelling user account.
user_filter_form in modules/user/user.admin.inc
Form builder; Return form for user administration filters.
user_profile_form in modules/user/user.pages.inc
Form builder; edit a user account or one of their profile categories.
user_register_form in modules/user/user.module
Form builder; the user registration form.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.