You are here

function patterns_parser_ready in Patterns 7.2

Same name and namespace in other branches
  1. 7 includes/parser/parser.inc \patterns_parser_ready()

Checks whether there is at least one parser currently enabled.

Return value

Boolean TRUE if there is at least one parser available.

13 calls to patterns_parser_ready()
patterns_config_settings in includes/config.inc
Display the pattern settings form. @TODO proper doc.
patterns_editor in includes/forms/editor.inc
Builds up a pattern editing environment. Loads additional javascript libraries, and supplies AJAX validation on the fly.
patterns_edit_page in includes/forms/editor.inc
Display the page for editing a pattern.
patterns_enable_pattern in ./patterns.module
Form constructor for the Patterns enabling form.
patterns_export in patterns_export/patterns_export.module
Forms to export the current web site configuration

... See full list

File

includes/parser/parser.inc, line 94

Code

function patterns_parser_ready() {
  $formats = patterns_parser_get_formats();
  return empty($formats) ? FALSE : TRUE;
}