You are here

function feeds_tamper_efq_finder_validate in Feeds Tamper 7

Validation handler for feeds_tamper_efq_finder_form().

1 string reference to 'feeds_tamper_efq_finder_validate'
efq_finder.inc in plugins/efq_finder.inc

File

plugins/efq_finder.inc, line 151

Code

function feeds_tamper_efq_finder_validate(array &$settings) {
  $entity_info = entity_get_info($settings['entity_type']);
  $settings['property'] = in_array($settings['field'], $entity_info['schema_fields_sql']['base table']);
}