You are here

function shortcut_patterns_callbacks in Patterns 7

Same name and namespace in other branches
  1. 7.2 patterns_components/components/shortcut.inc \shortcut_patterns_callbacks()

hook_patterns_callbacks()

File

patterns_components/components/shortcut.inc, line 216
Patterns component for shortcut.

Code

function shortcut_patterns_callbacks($action, $tag, &$data) {
  $allform = shortcut_patterns();
  $result = $allform[$tag][$action];
  return patterns_results(PATTERNS_SUCCESS, t('Execution successful(in callbacks function)'), $result);
}