You are here

function taxonomy_patterns_callbacks in Patterns 7

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

File

patterns_components/components/taxonomy.inc, line 211
Patterns component for taxonomy vocabularies and terms.

Code

function taxonomy_patterns_callbacks($action, $tag, &$data) {

  // Just return the form ids specified above. No custom functions used here.
  $desc = taxonomy_patterns();
  $result = $desc[$tag][$action];
  return patterns_results(PATTERNS_SUCCESS, t('Execution successful'), $result);
}