function patterns_forms_parser_ready in Patterns 7
Same name and namespace in other branches
- 7.2 includes/forms/forms.inc \patterns_forms_parser_ready()
File
- includes/
forms/ forms.inc, line 167
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'),
);
}
}