You are here

function field_patterns_callbacks in Patterns 7

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

File

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