'title' => 'First Name',
'help_pre' => '',
'help_post' => '',
- 'entity' => 'Contact',
+ 'entity' => 'contact',
'name' => 'first_name',
'type' => 2,
'maxlength' => 64,
'headerPattern' => '/^first|(f(irst\s)?name)$/i',
'dataPattern' => '/^\w+$/',
'export' => true,
+ 'api.aliases' => array(),
),
'last_name' => array(
'api.required' => '1',
'title' => 'Last Name',
'help_pre' => '',
'help_post' => '',
- 'entity' => 'Contact',
+ 'entity' => 'contact',
'name' => 'last_name',
'type' => 2,
'maxlength' => 64,
'headerPattern' => '/^last|(l(ast\s)?name)$/i',
'dataPattern' => '/^\w+(\s\w+)?+$/',
'export' => true,
+ 'api.aliases' => array(),
),
'email-primary' => array(
'api.required' => 1,
'title' => 'Email',
'help_pre' => '',
'help_post' => '',
- 'entity' => 'Email',
+ 'entity' => 'email',
'api.aliases' => array(
'0' => 'email-Primary',
),
'title' => 'Phone',
'help_pre' => '',
'help_post' => '',
- 'entity' => 'Phone',
+ 'entity' => 'phone',
'name' => 'phone',
'type' => 2,
'maxlength' => 32,
'headerPattern' => '/phone/i',
'dataPattern' => '/^[\d\(\)\-\.\s]+$/',
'export' => true,
+ 'api.aliases' => array(),
),
'country-1' => array(
'api.required' => '1',
'title' => 'Country',
'help_pre' => '',
'help_post' => '',
- 'entity' => 'Address',
+ 'entity' => 'address',
'name' => 'country_id',
'type' => 1,
'FKClassName' => 'CRM_Core_DAO_Country',
'labelColumn' => 'name',
'nameColumn' => 'iso_code',
),
+ 'api.aliases' => array(),
),
'state_province-1' => array(
'api.required' => '1',
'title' => 'State',
'help_pre' => '',
'help_post' => '',
- 'entity' => 'Address',
+ 'entity' => 'address',
'name' => 'state_province_id',
'type' => 1,
'FKClassName' => 'CRM_Core_DAO_StateProvince',
'keyColumn' => 'id',
'labelColumn' => 'name',
),
+ 'api.aliases' => array(),
),
'postal_code-1' => array(
'api.required' => 0,
'title' => 'Postal Code',
'help_pre' => '',
'help_post' => '',
- 'entity' => 'Address',
+ 'entity' => 'address',
'name' => 'postal_code',
'type' => 2,
'maxlength' => 12,
'headerPattern' => '/postal|zip/i',
'dataPattern' => '/\d?\d{4}(-\d{4})?/',
'export' => true,
+ 'api.aliases' => array(),
),
'custom_1' => array(
'api.required' => '1',
'title' => 'first_name',
'help_pre' => '',
'help_post' => '',
- 'entity' => 'Contact',
+ 'entity' => 'contact',
'label' => '_addCustomFieldToProfile',
'groupTitle' => '_addCustomFie',
'data_type' => 'String',
'time_format' => '',
'name' => 'custom_1',
'type' => 2,
+ 'api.aliases' => array(),
),
'profile_id' => array(
'api.required' => true,