You are here

function taxonomy_patterns_callbacks in Patterns 7.2

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

File

patterns_components/components/taxonomy.inc, line 298
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);
}