From 082cae5c25c4544c843aaa066b8999d0698ed885 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Mon, 10 Sep 2012 12:05:33 -0700 Subject: [PATCH] Issue #262690 by Albert Volkman: Call Form API by its proper name not Forms API --- core/CHANGELOG.txt | 2 +- core/includes/install.core.inc | 2 +- core/modules/node/node.module | 2 +- core/modules/system/system.api.php | 2 +- core/modules/system/theme.api.php | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/CHANGELOG.txt b/core/CHANGELOG.txt index 5ef8eafbe43..5833d63f964 100644 --- a/core/CHANGELOG.txt +++ b/core/CHANGELOG.txt @@ -520,7 +520,7 @@ Drupal 5.0, 2007-01-15 - Removed the archive module. - Upgrade system: * Created space for update branches. -- Forms API: +- Form API: * Made it possible to programmatically submit forms. * Improved api for multistep forms. - Theme system: diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index 3b69ce325bc..5defe93a16c 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -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_validate() diff --git a/core/modules/node/node.module b/core/modules/node/node.module index 7add837d702..adb2003515d 100644 --- a/core/modules/node/node.module +++ b/core/modules/node/node.module @@ -2745,7 +2745,7 @@ function node_search_validate($form, &$form_state) { // Insert extra restrictions into the search keywords string. 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. $form_state['values']['type'] = array_filter($form_state['values']['type']); if (count($form_state['values']['type'])) { diff --git a/core/modules/system/system.api.php b/core/modules/system/system.api.php index 14f36306456..c7343bafece 100644 --- a/core/modules/system/system.api.php +++ b/core/modules/system/system.api.php @@ -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. * * This hook allows modules to declare their own form element types and to diff --git a/core/modules/system/theme.api.php b/core/modules/system/theme.api.php index b98132ebdab..0001cba04dc 100644 --- a/core/modules/system/theme.api.php +++ b/core/modules/system/theme.api.php @@ -70,8 +70,8 @@ * Allow themes to alter the theme-specific settings form. * * 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 - * default values and removing form elements. See the Forms API documentation on + * allowable by Drupal's Form API, such as adding form elements, changing + * default values and removing form elements. See the Form API documentation on * api.drupal.org for detailed information. * * Note that the base theme's form alterations will be run before any sub-theme