You are here

public static function FeedImport::processXMLValidate in Feed Import 7.2

Callback for validating processXML settings

File

./feed_import.inc.php, line 1033
Feed import class for parsing and processing content.

Class

FeedImport
@file Feed import class for parsing and processing content.

Code

public static function processXMLValidate($field, $value, $default) {
  if (strpos($field, ' ') === FALSE) {
    return $default;
  }
  return $value;
}