You are here

public function AssetFeedsProcessor::configFormValidate in Asset 7

Override parent::configFormValidate().

File

modules/asset_feeds/AssetFeedsProcessor.inc, line 179
Class definition of AssetFeedsProcessor.

Class

AssetFeedsProcessor
Creates assets from feed items.

Code

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