Search for %s

  1. Search 9.5.x for %s
  2. Search 8.9.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
FormTextareaTestCase::testValueCallback function modules/simpletest/tests/form.test Tests that textarea value is properly set.
FormValidationTestCase class modules/simpletest/tests/form.test Test form validation handlers.
FormValidationTestCase::getInfo function modules/simpletest/tests/form.test
FormValidationTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormValidationTestCase::testDisabledToken function modules/simpletest/tests/form.test Tests that a form with a disabled CSRF token can be validated.
FormValidationTestCase::testMultiFormSameNameErrorClass function modules/simpletest/tests/form.test Tests error border of multiple fields with same name in a page.
FormValidationTestCase::testValidate function modules/simpletest/tests/form.test Tests form alterations by #element_validate, #validate, and form_set_value().
FormValidationTestCase::testValidateLimitErrors function modules/simpletest/tests/form.test Tests partial form validation through #limit_validation_errors.
form_execute_handlers function includes/form.inc Executes custom validation and submission handlers for a given form.
form_get_errors function includes/form.inc Returns an associative array of all errors if any.
form_get_options function includes/form.inc Returns the indexes of a select element's options matching a given key.
form_label_test_form function modules/simpletest/tests/form_test.module A form for testing form labels and required marks.
form_options_flatten function includes/form.inc Allows PHP array processing of multiple select options with the same value.
form_pre_render_fieldset function includes/form.inc Adds members of this group as actual elements for rendering.
form_process_actions function includes/form.inc Processes a form actions container element.
form_process_autocomplete function includes/form.inc Process function to prepare autocomplete data.
form_process_button function includes/form.inc Processes a form button element.
form_process_checkbox function includes/form.inc Sets the #checked property of a checkbox element.
form_process_checkboxes function includes/form.inc Processes a checkboxes form element.
form_process_container function includes/form.inc Processes a container element.
form_process_date function includes/form.inc Expands a date element into year, month, and day select elements.
form_process_fieldset function includes/form.inc Arranges fieldsets into groups.
form_process_machine_name function includes/form.inc Processes a machine-readable name form element.
form_process_password_confirm function includes/form.inc Expand a password_confirm field into two text boxes.
form_process_radios function includes/form.inc Expands a radios element into individual radio elements.
form_process_select function includes/form.inc Processes a select list form element.
form_process_tableselect function includes/form.inc Creates checkbox or radio elements to populate a tableselect table.
form_process_vertical_tabs function includes/form.inc Creates a group formatted as vertical tabs.
form_process_weight function includes/form.inc Expands a weight element into a select element.
form_select_options function includes/form.inc Converts an array of options into HTML, for use in select list form elements.
form_set_cache function includes/form.inc Stores a form in the cache.
form_set_error function includes/form.inc Files an error against a form element.
form_set_value function includes/form.inc Changes submitted form values during form validation.
form_state_defaults function includes/form.inc Retrieves default values for the $form_state array.
form_state_keys_no_cache function includes/form.inc Returns an array of $form_state keys that shouldn't be cached.
form_state_values_clean function includes/form.inc Removes internal Form API elements and buttons from submitted form values.
form_storage_test_form_continue_submit function modules/simpletest/tests/form_test.module Form submit handler to continue multi-step form.
form_test.file.inc file modules/simpletest/tests/form_test.file.inc An include file to test loading it with the form API.
form_test.info file modules/simpletest/tests/form_test.info name = "FormAPI Test"
description = "Support module for Form API tests."
package = Testing
version = VERSION
core = 7.x
hidden = TRUE
form_test.module file modules/simpletest/tests/form_test.module Helper module for the form API tests.
form_test_alter_form function modules/simpletest/tests/form_test.module Form builder for testing hook_form_alter() and hook_form_FORM_ID_alter().
form_test_cache_form function modules/simpletest/tests/form_test.module A simple form for testing form caching.
form_test_checkboxes_radios function modules/simpletest/tests/form_test.module Form constructor to test expansion of #type checkboxes and radios.
form_test_checkboxes_zero function modules/simpletest/tests/form_test.module
form_test_checkbox_type_juggling function modules/simpletest/tests/form_test.module
form_test_clicked_button function modules/simpletest/tests/form_test.module Form builder to test button click detection.
form_test_clicked_button_submit function modules/simpletest/tests/form_test.module Form submit handler for the form_test_clicked_button() form.
form_test_clicked_button_validate function modules/simpletest/tests/form_test.module Form validation handler for the form_test_clicked_button() form.
form_test_double_form function modules/simpletest/tests/form_test.module Menu callback returns two instances of the same form.
form_test_element_validate_name function modules/simpletest/tests/form_test.module Form element validation handler for 'name' in form_test_validate_form().

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