From 8e6e51547ecc1c8e09b61ed5d8c436caee17d0a6 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Tue, 17 Apr 2012 15:14:29 -0700 Subject: Issue #1533498 by jmarkel: Fix see doc issue and clean up doc in hook_field_widget_form_alter --- modules/field/field.api.php | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'modules/field/field.api.php') diff --git a/modules/field/field.api.php b/modules/field/field.api.php index cb55bba16..134af6615 100644 --- a/modules/field/field.api.php +++ b/modules/field/field.api.php @@ -882,17 +882,16 @@ function hook_field_widget_form(&$form, &$form_state, $field, $instance, $langco * @param $context * An associative array containing the following key-value pairs, matching the * arguments received by hook_field_widget_form(): - * - "form": The form structure where widgets are being attached to. This - * might be a full form structure, or a sub-element of a larger form. - * - "field": The field structure. - * - "instance": The field instance structure. - * - "langcode": The language associated with $items. - * - "items": Array of default values for this field. - * - "delta": The order of this item in the array of subelements (0, 1, 2, - * etc). + * - form: The form structure to which widgets are being attached. This may be + * a full form structure, or a sub-element of a larger form. + * - field: The field structure. + * - instance: The field instance structure. + * - langcode: The language associated with $items. + * - items: Array of default values for this field. + * - delta: The order of this item in the array of subelements (0, 1, 2, etc). * * @see hook_field_widget_form() - * @see hook_field_widget_WIDGET_TYPE_form_alter + * @see hook_field_widget_WIDGET_TYPE_form_alter() */ function hook_field_widget_form_alter(&$element, &$form_state, $context) { // Add a css class to widget form elements for all fields of type mytype. -- cgit v1.2.3