You are here

function field_extract_number_integer_extract in Field Extract Values 7

1 string reference to 'field_extract_number_integer_extract'
field_extract_number_integer_info in includes/number_integer.inc
@file field_extract support for number_integer field

File

includes/number_integer.inc, line 18
field_extract support for number_integer field

Code

function field_extract_number_integer_extract($item, $options = array()) {
  if (isset($item[$options['key']])) {
    return (int) $item[$options['key']];
  }
}