You are here

function _exif_handle_field in Exif 7

handle field by delegating to specific type handler.

Parameters

$index:

$field_type:

$field_data:

Return value

unknown_type

1 call to _exif_handle_field()
_exif_node_insert_update in ./exif.module
Main entrypoint of the module.

File

./exif.module, line 259

Code

function _exif_handle_field($index, $language, $field_type, &$field_data, $exif_section, $exif_name, $exif_value) {
  $field = field_info_field($field_type['field_name']);
  if ($field['module'] == 'text') {
    _exif_handle_text_field($index, $language, $field, $field_type, $field_data, $exif_section, $exif_name, $exif_value);
  }
  else {
    if ($field['module'] == 'taxonomy' || $field['module'] == 'i18n_taxonomy') {
      _exif_handle_taxonomy_field($index, $language, $field, $field_type, $field_data, $exif_section, $exif_name, $exif_value);
    }
    else {
      if ($field['module'] == 'date') {
        _exif_handle_date_field($index, $language, $field, $field_type, $field_data, $exif_section, $exif_name, $exif_value);
      }
    }
  }
}