You are here

function field_extract_list_integer_extract in Field Extract Values 7

1 string reference to 'field_extract_list_integer_extract'
field_extract_list_integer_info in includes/list_integer.inc
@file field_extract support for list_integer field

File

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

Code

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