You are here

function _feeds_tamper_efq_finder_get_value in Feeds Tamper 7

Searches for the correct form value.

1 call to _feeds_tamper_efq_finder_get_value()
feeds_tamper_efq_finder_form in plugins/efq_finder.inc
Configuration form.

File

plugins/efq_finder.inc, line 138

Code

function _feeds_tamper_efq_finder_get_value($key, array $form_state, array $settings) {
  if (!empty($form_state['values']['settings'][$key])) {
    return $form_state['values']['settings'][$key];
  }
  if (!empty($settings[$key])) {
    return $settings[$key];
  }
}