diff options
Diffstat (limited to 'modules/field/modules/number/number.module')
-rw-r--r-- | modules/field/modules/number/number.module | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/field/modules/number/number.module b/modules/field/modules/number/number.module index 34bfd9eae..15daaa504 100644 --- a/modules/field/modules/number/number.module +++ b/modules/field/modules/number/number.module @@ -7,7 +7,7 @@ */ /** - * Implementation of hook_theme(). + * Implement hook_theme(). */ function number_theme() { return array( @@ -19,7 +19,7 @@ function number_theme() { } /** - * Implementation of hook_field_info(). + * Implement hook_field_info(). */ function number_field_info() { return array( @@ -49,7 +49,7 @@ function number_field_info() { } /** - * Implementation of hook_field_schema(). + * Implement hook_field_schema(). */ function number_field_schema($field) { switch ($field['type']) { @@ -88,7 +88,7 @@ function number_field_schema($field) { } /** - * Implementation of hook_field_validate(). + * Implement hook_field_validate(). * * Possible error codes: * - 'number_min': The value is smaller than the allowed minimum value. @@ -114,7 +114,7 @@ function number_field_validate($obj_type, $node, $field, $instance, $items, &$er } /** - * Implementation of hook_content_is_empty(). + * Implement hook_content_is_empty(). */ function number_field_is_empty($item, $field) { if (empty($item['value']) && (string)$item['value'] !== '0') { @@ -124,7 +124,7 @@ function number_field_is_empty($item, $field) { } /** - * Implementation of hook_field_formatter_info(). + * Implement hook_field_formatter_info(). */ function number_field_formatter_info() { return array( @@ -199,7 +199,7 @@ function theme_field_formatter_number($element) { } /** - * Implementation of hook_field_widget_info(). + * Implement hook_field_widget_info(). * * Here we indicate that the Field module will handle * multiple values for these widgets. @@ -223,7 +223,7 @@ function number_field_widget_info() { } /** - * Implementation of FAPI hook_elements(). + * Implement FAPI hook_elements(). * * Any FAPI callbacks needed for individual widgets can be declared here, * and the element will be passed to those callbacks for processing. @@ -245,7 +245,7 @@ function number_elements() { } /** - * Implementation of hook_field_widget(). + * Implement hook_field_widget(). * * Attach a single form element to the form. It will be built out and * validated in the callback(s) listed in hook_elements. We build it @@ -282,7 +282,7 @@ function number_field_widget(&$form, &$form_state, $field, $instance, $items, $d } /** - * Implementation of hook_field_widget_error(). + * Implement hook_field_widget_error(). */ function number_field_widget_error($element, $error) { form_error($element['value'], $error['message']); |