You are here

public function FeedsTermProcessor::configFormValidate in Feeds 7

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

Override parent::configFormValidate().

Overrides FeedsConfigurable::configFormValidate

File

plugins/FeedsTermProcessor.inc, line 177
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'));
  }
}