From ee12f1b2884f628d9855e0cd8f1f12a8b276abb7 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 17 Aug 2015 18:17:22 -0700 Subject: [PATCH] CRM-16373 - Config - Declare settings for defaultContactStateProvince --- settings/Localization.setting.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/settings/Localization.setting.php b/settings/Localization.setting.php index d0f96b099d..517f57fa33 100644 --- a/settings/Localization.setting.php +++ b/settings/Localization.setting.php @@ -163,6 +163,27 @@ return array( 'description' => 'This value is selected by default when adding a new contact address.', 'help_text' => NULL, ), + 'defaultContactStateProvince' => array( + 'add' => '4.7', + 'prefetch' => 1, + 'config_only' => 1, + 'help_text' => NULL, + 'is_domain' => 1, + 'is_contact' => 0, + 'group_name' => 'Localization Preferences', + 'group' => 'localization', + 'name' => 'defaultContactStateProvince', + 'type' => 'Integer', + 'quick_form_type' => 'Select', + 'html_type' => 'Select', + 'pseudoconstant' => array( + 'callback' => 'CRM_Core_PseudoConstant::stateProvince', + ), + 'html_attributes', + 'default' => '', + 'title' => 'Default State/Province', + 'description' => 'This value is selected by default when adding a new contact address.', + ), 'countryLimit' => array( 'group_name' => 'Localization Preferences', 'group' => 'localization', -- 2.25.1