Issue #262690 by Albert Volkman: Call Form API by its proper name not Forms API

8.0.x
Jennifer Hodgdon 2012-09-10 12:05:33 -07:00
parent 67d2a2ffc4
commit 082cae5c25
5 changed files with 6 additions and 6 deletions

View File

@ -520,7 +520,7 @@ Drupal 5.0, 2007-01-15
- Removed the archive module. - Removed the archive module.
- Upgrade system: - Upgrade system:
* Created space for update branches. * Created space for update branches.
- Forms API: - Form API:
* Made it possible to programmatically submit forms. * Made it possible to programmatically submit forms.
* Improved api for multistep forms. * Improved api for multistep forms.
- Theme system: - Theme system:

View File

@ -1820,7 +1820,7 @@ function install_check_requirements($install_state) {
} }
/** /**
* Returns a Forms API array definition for site configuration. * Returns a Form API array definition for site configuration.
* *
* @see install_configure_form() * @see install_configure_form()
* @see install_configure_form_validate() * @see install_configure_form_validate()

View File

@ -2745,7 +2745,7 @@ function node_search_validate($form, &$form_state) {
// Insert extra restrictions into the search keywords string. // Insert extra restrictions into the search keywords string.
if (isset($form_state['values']['type']) && is_array($form_state['values']['type'])) { if (isset($form_state['values']['type']) && is_array($form_state['values']['type'])) {
// Retrieve selected types - Forms API sets the value of unselected // Retrieve selected types - Form API sets the value of unselected
// checkboxes to 0. // checkboxes to 0.
$form_state['values']['type'] = array_filter($form_state['values']['type']); $form_state['values']['type'] = array_filter($form_state['values']['type']);
if (count($form_state['values']['type'])) { if (count($form_state['values']['type'])) {

View File

@ -206,7 +206,7 @@ function hook_queue_info_alter(&$queues) {
} }
/** /**
* Allows modules to declare their own Forms API element types and specify their * Allows modules to declare their own Form API element types and specify their
* default values. * default values.
* *
* This hook allows modules to declare their own form element types and to * This hook allows modules to declare their own form element types and to

View File

@ -70,8 +70,8 @@
* Allow themes to alter the theme-specific settings form. * Allow themes to alter the theme-specific settings form.
* *
* With this hook, themes can alter the theme-specific settings form in any way * With this hook, themes can alter the theme-specific settings form in any way
* allowable by Drupal's Forms API, such as adding form elements, changing * allowable by Drupal's Form API, such as adding form elements, changing
* default values and removing form elements. See the Forms API documentation on * default values and removing form elements. See the Form API documentation on
* api.drupal.org for detailed information. * api.drupal.org for detailed information.
* *
* Note that the base theme's form alterations will be run before any sub-theme * Note that the base theme's form alterations will be run before any sub-theme