summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt2
-rw-r--r--includes/install.core.inc6
-rw-r--r--modules/node/node.module2
-rw-r--r--modules/system/system.api.php4
-rw-r--r--modules/system/theme.api.php4
5 files changed, 9 insertions, 9 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 7d01815ba..e0717ccac 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -967,7 +967,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/includes/install.core.inc b/includes/install.core.inc
index ec3a8539b..fc37de174 100644
--- a/includes/install.core.inc
+++ b/includes/install.core.inc
@@ -1674,7 +1674,7 @@ function install_check_requirements($install_state) {
}
/**
- * Forms API array definition for site configuration.
+ * Form API array definition for site configuration.
*/
function _install_configure_form($form, &$form_state, &$install_state) {
include_once DRUPAL_ROOT . '/includes/locale.inc';
@@ -1787,7 +1787,7 @@ function _install_configure_form($form, &$form_state, &$install_state) {
}
/**
- * Forms API validate for the site configuration form.
+ * Form API validate for the site configuration form.
*/
function install_configure_form_validate($form, &$form_state) {
if ($error = user_validate_name($form_state['values']['account']['name'])) {
@@ -1802,7 +1802,7 @@ function install_configure_form_validate($form, &$form_state) {
}
/**
- * Forms API submit for the site configuration form.
+ * Form API submit for the site configuration form.
*/
function install_configure_form_submit($form, &$form_state) {
global $user;
diff --git a/modules/node/node.module b/modules/node/node.module
index 2baee4301..f3375f32c 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -2764,7 +2764,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/modules/system/system.api.php b/modules/system/system.api.php
index 4f5c7880c..3f445dba3 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -623,7 +623,7 @@ function hook_cron_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
@@ -1041,7 +1041,7 @@ function hook_menu_get_item_alter(&$router_item, $path, $original_map) {
* This 'abc' object will then be passed into the callback functions defined
* for the menu item, such as the page callback function mymodule_abc_edit()
* to replace the integer 1 in the argument array. Note that a load function
- * should return FALSE when it is unable to provide a loadable object. For
+ * should return FALSE when it is unable to provide a loadable object. For
* example, the node_load() function for the 'node/%node/edit' menu item will
* return FALSE for the path 'node/999/edit' if a node with a node ID of 999
* does not exist. The menu routing system will return a 404 error in this case.
diff --git a/modules/system/theme.api.php b/modules/system/theme.api.php
index cd7ecfde8..6865421cf 100644
--- a/modules/system/theme.api.php
+++ b/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