function _patterns_parser_merge_default_include_options in Patterns 7
Same name and namespace in other branches
- 7.2 includes/parser/parser.inc \_patterns_parser_merge_default_include_options()
2 calls to _patterns_parser_merge_default_include_options()
- patterns_parser_should_include in includes/parser/ parser.inc 
- Determines if a pattern should be included or not. The following conditions are checked in order:
- patterns_parser_should_include_local in includes/parser/ parser.inc 
- Determines whether an pattern should be included based on the local configuration (the pattern code itself).
File
- includes/parser/ parser.inc, line 708 
Code
function _patterns_parser_merge_default_include_options($options) {
  $defaults = array(
    'include' => FALSE,
    'enabled' => FALSE,
    'updated' => FALSE,
    'verbose' => FALSE,
    'pattern' => NULL,
    'mode' => NULL,
  );
  return array_merge($defaults, $options);
}