From 5d2eb2d611c2dde65352f40e382a3ac7c179c0df Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy <mathieu@bidon.ca> Date: Fri, 16 Feb 2018 09:52:06 -0500 Subject: [PATCH] framework/setting.md: Fixed Civi::settings() examples. --- docs/framework/setting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/setting.md b/docs/framework/setting.md index 67546649..d48d2cb7 100644 --- a/docs/framework/setting.md +++ b/docs/framework/setting.md @@ -81,7 +81,7 @@ Deprecated settings properties are : ## Setting Storage and Retrieval -To set a setting, developers can use either the Setting.Create API or use `Civi::settings->set()` to set the value e.g. `Civi::settings->set('editor_id', 'CKEditor');`. To Retrieve a setting value, developers can use the Setting.Get API or use `Civi::settings->get()` e.g. `Civi::settings()->get('max_attachments');` +To set a setting, developers can use either the Setting.Create API or use `Civi::settings()->set()` to set the value e.g. `Civi::settings()->set('editor_id', 'CKEditor');`. To Retrieve a setting value, developers can use the Setting.Get API or use `Civi::settings()->get()` e.g. `Civi::settings()->get('max_attachments');` ## API actions -- GitLab