From 0391dc25129dbaaf1c2da3af28dc04a1d876055b Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 10 Apr 2013 14:37:19 +1200 Subject: [PATCH] add in-code documentation --- api/v3/Contact.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/v3/Contact.php b/api/v3/Contact.php index 0b84bf2d27..7ccbbfb473 100644 --- a/api/v3/Contact.php +++ b/api/v3/Contact.php @@ -142,6 +142,10 @@ function _civicrm_api3_contact_create_spec(&$params) { 'title' => 'Current Employer', 'description' => 'Name of Current Employer', ); + $params['dupe_check'] = array( + 'title' => 'Check for Duplicates', + 'description' => 'Throw error if contact create matches dedupe rule', + ); } /** -- 2.25.1