You are here

function menu_patterns_callbacks in Patterns 7.2

Same name and namespace in other branches
  1. 7 patterns_components/components/menu.inc \menu_patterns_callbacks()

File

patterns_components/components/menu.inc, line 430

Code

function menu_patterns_callbacks($action, $tag, &$data) {
  $desc = menu_patterns();
  $result = $desc[$tag][$action];
  return patterns_results(PATTERNS_SUCCESS, t('Execution successful'), $result);
}