projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #7336 from eileenmcnaughton/CRM-17636
[civicrm-core.git]
/
api
/
v3
/
Setting.php
diff --git
a/api/v3/Setting.php
b/api/v3/Setting.php
index 09e46fb6639d666f69395562efb16d9fc44e149d..2817f11643e361d399f5c3868b89eeb05a27e63a 100644
(file)
--- a/
api/v3/Setting.php
+++ b/
api/v3/Setting.php
@@
-144,6
+144,14
@@
function _civicrm_api3_setting_getdefaults_spec(&$params) {
);
}
);
}
+/**
+ * Get options for settings.
+ *
+ * @param array $params
+ *
+ * @return array
+ * @throws \API_Exception
+ */
function civicrm_api3_setting_getoptions($params) {
$specs = CRM_Core_BAO_Setting::getSettingSpecification();
function civicrm_api3_setting_getoptions($params) {
$specs = CRM_Core_BAO_Setting::getSettingSpecification();