function patterns_parser_build_include_options in Patterns 7.2
Same name and namespace in other branches
- 7 includes/parser/parser.inc \patterns_parser_build_include_options()
2 calls to patterns_parser_build_include_options()
- patterns_execute_pattern_batch in includes/
core/ batch.inc - Starts preliminary operations for pattern execution.
- patterns_execute_pattern_php in includes/
core/ php.inc - Execute a Pattern. Actions will be called sequentially.
File
- includes/
parser/ parser.inc, line 661
Code
function patterns_parser_build_include_options($pid, $run_mode = NULL) {
$run_mode = patterns_get_include_mode($run_mode);
$options = array(
'mode' => $run_mode,
);
return array(
'pattern' => $pid,
'include' => patterns_parser_should_include($pid, $options),
'mode' => $run_mode,
);
}