function RulesTaxonomyVocabularyWrapper::validate

Overridden to permit machine names as values.

File

modules/rules_core.eval.inc, line 271

Class

RulesTaxonomyVocabularyWrapper
A custom wrapper class for vocabularies.

Code

public function validate($value) {
    if (isset($value) && is_string($value)) {
        return TRUE;
    }
    return parent::validate($value);
}