From 976afa8f4c29313103b66147e6cd423ea03e038a Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 17 Aug 2015 15:29:28 -0700 Subject: [PATCH] CRM-16373 - Setting, weekBegins - Use pseudoconstant --- settings/Localization.setting.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/settings/Localization.setting.php b/settings/Localization.setting.php index 5d3508ff8e..6ec4c809ef 100644 --- a/settings/Localization.setting.php +++ b/settings/Localization.setting.php @@ -302,9 +302,11 @@ return array( 'group' => 'localization', 'name' => 'weekBegins', 'type' => 'String', - 'quick_form_type' => 'Element', - 'html_type' => 'select', - 'option_values' => CRM_Utils_Date::getFullWeekdayNames(), + 'quick_form_type' => 'Select', + 'html_type' => 'Select', + 'pseudoconstant' => array( + 'callback' => 'CRM_Utils_Date::getFullWeekdayNames', + ), 'default' => '0', 'add' => '4.7', 'title' => 'Week begins on', -- 2.25.1