Issue #262690 by Albert Volkman: Call Form API by its proper name not Forms API
parent
67d2a2ffc4
commit
082cae5c25
|
@ -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:
|
||||||
|
|
|
@ -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()
|
||||||
|
|
|
@ -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'])) {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue