You are here

public function FeedsTermProcessor::configFormValidate in Feeds 6

Same name and namespace in other branches
  1. 7 plugins/FeedsTermProcessor.inc \FeedsTermProcessor::configFormValidate()

Override parent::configFormValidate().

Overrides FeedsConfigurable::configFormValidate

File

plugins/FeedsTermProcessor.inc, line 218
FeedsTermProcessor class.

Class

FeedsTermProcessor
Feeds processor plugin. Create taxonomy terms from feed items.

Code

public function configFormValidate(&$values) {
  if (empty($values['vocabulary'])) {
    form_set_error('vocabulary', t('Choose a vocabulary'));
  }
}