Skip to content
Snippets Groups Projects
Commit 5d2eb2d6 authored by bgm's avatar bgm
Browse files

framework/setting.md: Fixed Civi::settings() examples.

parent f0f99104
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment