function field_extract_field_extract in Field Extract Values 7
Implements hook_field_extract().
This is the default hook which does the minimum.
1 string reference to 'field_extract_field_extract'
- field_extract_values in ./
field_extract.module - Fetch values of an entity's field
File
- ./
field_extract.module, line 200 - Field extract - Extension of the Field API to allow proper extraction of field values from entities
Code
function field_extract_field_extract($item, $options) {
if (isset($item[$options['key']])) {
return $item[$options['key']];
}
}