You are here

function field_patterns_callbacks in Patterns 7.2

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

File

patterns_components/components/field.inc, line 359
Patterns component for Fields.

Code

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