public function FeedsCommentProcessor::configFormValidate in Feeds Comment Processor 7
Same name and namespace in other branches
- 6 FeedsCommentProcessor.inc \FeedsCommentProcessor::configFormValidate()
File
- ./
FeedsCommentProcessor.inc, line 204 - Contains FeedsCommentProcessor.
Class
- FeedsCommentProcessor
- Creates comments from feed items.
Code
public function configFormValidate(&$values) {
if ($author = user_load_by_name($values['author'])) {
$values['author'] = $author->uid;
}
else {
$values['author'] = 0;
}
}