Skip to content
Snippets Groups Projects
Commit 4575dbaa authored by Angie Byron's avatar Angie Byron
Browse files

#695614 by figover: Small documentation fix in number module.

parent 1a800113
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -211,7 +211,7 @@ function number_field_presave($obj_type, $object, $field, $instance, $langcode,
}
/**
* Implements hook_content_is_empty().
* Implements hook_field_is_empty().
*/
function number_field_is_empty($item, $field) {
if (empty($item['value']) && (string)$item['value'] !== '0') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment