You are here

function patterns_yamlparser_patterns_parser in Patterns 7.2

Same name and namespace in other branches
  1. 7 patterns_yamlparser/patterns_yamlparser.module \patterns_yamlparser_patterns_parser()

Implements hook_patterns_parser().

Return value

array Parser definition.

File

patterns_yamlparser/patterns_yamlparser.module, line 11

Code

function patterns_yamlparser_patterns_parser() {
  $parser = array();
  $parser['format'] = PATTERNS_FORMAT_YAML;
  $parser['parser'] = 'patterns_yamlparser';
  return $parser;
}