+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
function _civicrm_api3_address_create_spec(&$params) {
$params['location_type_id']['api.required'] = 1;
$params['contact_id']['api.required'] = 1;
- $params['country'] = array('title' => 'Name or 2-letter abbreviation of country. Looked up in civicrm_country table');
- $params['street_parsing'] = array('title' => 'optional param to indicate you want the street_address field parsed into individual params');
+ $params['street_parsing'] = array(
+ 'title' => 'Street Address Parsing',
+ 'description' => 'Optional param to indicate you want the street_address field parsed into individual params',
+ 'type' => CRM_Utils_Type::T_BOOLEAN,
+ );
$params['world_region'] = array(
'title' => ts('World Region'),
'name' => 'world_region',