$info) { $plan_references[$record_type] = array( 'type' => $info['entity_type'], 'tables' => array( $info['table'] => $info['field'], ), ); } // Check to see if references exist. return farm_constraint_table_references($plan_references, $type, $bundle, $id); }