X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FMap.setting.php;h=733bcc0e0f99d911837bfd592852422b874df3f4;hb=2543ccb1cd86518b30bc2c992988575ec2303bf2;hp=6d2b0464f28d10de73a5217257bb1eb3a5150b2b;hpb=aa31a7a02e13acfc02a1519de90017ebff06e42d;p=civicrm-core.git diff --git a/settings/Map.setting.php b/settings/Map.setting.php index 6d2b0464f2..733bcc0e0f 100644 --- a/settings/Map.setting.php +++ b/settings/Map.setting.php @@ -33,8 +33,8 @@ * * Settings metadata file */ -return array( - 'geoAPIKey' => array( +return [ + 'geoAPIKey' => [ 'add' => '4.7', 'help_text' => NULL, 'is_domain' => 1, @@ -45,15 +45,15 @@ return array( 'type' => 'String', 'quick_form_type' => 'Element', 'html_type' => 'text', - 'html_attributes' => array( + 'html_attributes' => [ 'size' => '32', 'maxlength' => '64', - ), + ], 'default' => NULL, 'title' => 'Geo Provider Key', - 'description' => 'Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).', - ), - 'geoProvider' => array( + 'description' => 'Enter the API key or Application ID associated with your geocoding provider.', + ], + 'geoProvider' => [ 'add' => '4.7', 'help_text' => NULL, 'is_domain' => 1, @@ -64,17 +64,17 @@ return array( 'type' => 'String', 'quick_form_type' => 'Select', 'html_type' => 'Select', - 'html_attributes' => array( + 'html_attributes' => [ 'class' => 'crm-select2', - ), - 'pseudoconstant' => array( + ], + 'pseudoconstant' => [ 'callback' => 'CRM_Core_SelectValues::geoProvider', - ), + ], 'default' => NULL, 'title' => 'Geocoding Provider', 'description' => 'This can be the same or different from the mapping provider selected.', - ), - 'mapAPIKey' => array( + ], + 'mapAPIKey' => [ 'add' => '4.7', 'help_text' => NULL, 'is_domain' => 1, @@ -85,15 +85,15 @@ return array( 'type' => 'String', 'quick_form_type' => 'Element', 'html_type' => 'text', - 'html_attributes' => array( + 'html_attributes' => [ 'size' => '32', 'maxlength' => '64', - ), + ], 'default' => NULL, 'title' => 'Map Provider Key', 'description' => 'Enter your API Key or Application ID. An API Key is required for the Google Maps API. Refer to developers.google.com for the latest information.', - ), - 'mapProvider' => array( + ], + 'mapProvider' => [ 'add' => '4.7', 'help_text' => NULL, 'is_domain' => 1, @@ -104,14 +104,14 @@ return array( 'type' => 'String', 'quick_form_type' => 'Select', 'html_type' => 'Select', - 'html_attributes' => array( + 'html_attributes' => [ 'class' => 'crm-select2', - ), - 'pseudoconstant' => array( + ], + 'pseudoconstant' => [ 'callback' => 'CRM_Core_SelectValues::mapProvider', - ), + ], 'default' => NULL, 'title' => 'Mapping Provider', 'description' => 'Choose the mapping provider that has the best coverage for the majority of your contact addresses.', - ), -); + ], +];