You are here

public function LogProcessor::configFormValidate in Log entity 7

Override parent::configFormValidate().

File

includes/feeds/plugins/LogProcessor.inc, line 169
Class definition of LogProcessor.

Class

LogProcessor
Creates logs from feed items.

Code

public function configFormValidate(&$values) {
  if ($author = user_load_by_name($values['author'])) {
    $values['author'] = $author->uid;
  }
  else {
    $values['author'] = 0;
  }
}