You are here

public function RelationFeedsProcessor::configFormValidate in Relation 7

File

relation_feeds/RelationFeedsProcessor.inc, line 232
Class definition of RelationFeedsProcessor.

Class

RelationFeedsProcessor
Creates relations from feed items.

Code

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