diff options
author | Jennifer Hodgdon <yahgrp@poplarware.com> | 2012-04-17 15:14:29 -0700 |
---|---|---|
committer | Jennifer Hodgdon <yahgrp@poplarware.com> | 2012-04-17 15:14:29 -0700 |
commit | 8e6e51547ecc1c8e09b61ed5d8c436caee17d0a6 (patch) | |
tree | cf6f2b8a04cd12a0b12de18e8e85f1d219fef3af /modules/field | |
parent | 23c7c54b14ead2003f0906f7ec291781a61e82ee (diff) | |
download | brdo-8e6e51547ecc1c8e09b61ed5d8c436caee17d0a6.tar.gz brdo-8e6e51547ecc1c8e09b61ed5d8c436caee17d0a6.tar.bz2 |
Issue #1533498 by jmarkel: Fix see doc issue and clean up doc in hook_field_widget_form_alter
Diffstat (limited to 'modules/field')
-rw-r--r-- | modules/field/field.api.php | 17 |
1 files changed, 8 insertions, 9 deletions
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. |