function color_patterns_callbacks in Patterns 7
Same name and namespace in other branches
- 7.2 patterns_components/components/color.inc \color_patterns_callbacks()
File
- patterns_components/
components/ color.inc, line 110
Code
function color_patterns_callbacks($action, $tag, &$data) {
$desc = color_patterns();
$result = $desc[$tag][$action];
return patterns_results(PATTERNS_SUCCESS, t('Execution successful'), $result);
}