function patterns_forms_parser_ready in Patterns 7.2
Same name and namespace in other branches
- 7 includes/forms/forms.inc \patterns_forms_parser_ready()
File
- includes/
forms/ forms.inc, line 194
Code
function patterns_forms_parser_ready($form = array(), $parser = NULL) {
if (!patterns_parser_ready()) {
$forms['noparser'] = array(
'#markup' => t('Warning: no valid parser found. Please enable some of the from the interface'),
);
}
}