diff --git a/core/includes/ajax.inc b/core/includes/ajax.inc index 8817356d1822..a20acd8e9da3 100644 --- a/core/includes/ajax.inc +++ b/core/includes/ajax.inc @@ -168,7 +168,7 @@ * displayed while awaiting a response from the callback, and add an optional * message. Possible keys: 'type', 'message', 'url', 'interval'. * More information is available in the - * @link http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html/7 Form API Reference @endlink + * @link forms_api_reference.html Form API Reference @endlink * * In addition to using Form API for doing in-form modification, Ajax may be * enabled by adding classes to buttons and links. By adding the 'use-ajax' diff --git a/core/includes/form.inc b/core/includes/form.inc index bc71b9ef2d5f..c387384b2a3d 100644 --- a/core/includes/form.inc +++ b/core/includes/form.inc @@ -79,7 +79,7 @@ * the elements and properties of the form. For information on the array * components and format, and more detailed explanations of the Form API * workflow, see the - * @link http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html Form API reference @endlink + * @link forms_api_reference.html Form API reference @endlink * and the * @link http://drupal.org/node/37775 Form API documentation section. @endlink * In addition, there is a set of Form API tutorials in @@ -214,10 +214,10 @@ function drupal_get_form($form_id) { * set. * - values: An associative array of values submitted to the form. The * validation functions and submit functions use this array for nearly all - * their decision making. (Note that - * @link http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html/7#tree #tree @endlink - * determines whether the values are a flat array or an array whose - * structure parallels the $form array.) + * their decision making. (Note that #tree determines whether the values + * are a flat array or an array whose structure parallels the $form array. + * See the @link forms_api_reference.html Form API reference @endlink for + * more information.) * - input: The array of values as they were submitted by the user. These are * raw and unvalidated, so should not be used without a thorough * understanding of security implications. In almost all cases, code should diff --git a/core/modules/field/field.api.php b/core/modules/field/field.api.php index 5b3d69a33e2c..2448d738adb6 100644 --- a/core/modules/field/field.api.php +++ b/core/modules/field/field.api.php @@ -690,8 +690,7 @@ function hook_field_is_empty($item, $field) { * which widget to use. Widget types are defined by implementing * hook_field_widget_info(). * - * Widgets are - * @link http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html Form API @endlink + * Widgets are @link forms_api_reference.html Form API @endlink * elements with additional processing capabilities. Widget hooks are typically * called by the Field Attach API during the creation of the field form * structure with field_attach_form(). diff --git a/core/modules/field/field.module b/core/modules/field/field.module index 0220a6ec9547..eabcf2a29a0b 100644 --- a/core/modules/field/field.module +++ b/core/modules/field/field.module @@ -310,7 +310,7 @@ function field_help($path, $arg) { } $output .= theme('item_list', $items) . ''; $output .= '
register_globals
is turned off. If you need to use forms, understand and use the functions in the Drupal Form API.', array('@formapi' => url('http://api.drupal.org/api/group/form_api/7'))) . 'register_globals
is turned off. If you need to use forms, understand and use the functions in the Drupal Form API.', array('@formapi' => url('http://api.drupal.org/api/group/form_api/8'))) . 'print
or return
statement in your code to output content.') . 'template.php
file rather than embedding it directly into a post or block.') . '