Skip to content
Snippets Groups Projects
Unverified Commit eafba833 authored by colemanw's avatar colemanw Committed by GitHub
Browse files

Update hook_civicrm_coreResourceList.md

parent 6004de33
Branches
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ function myextension_civicrm_coreResourceList(&$list, $region) {
Civi::resources()->addStyleFile('org.example.myextension', 'css/my_style.css', 0, $region);
// Add a setting - in this example we override the CKEditor config file location
$myCKEConfFile = Civi::resources()->getUrl('org.example.myextension', 'js/my-ckeditor-config.js')
$list[] = array('config' => array('CKEditorCustomConfig' => $myCKEConfFile));
$myCKEConfFile = Civi::resources()->getUrl('org.example.myextension', 'js/my-ckeditor-config.js');
$list[] = ['config' => ['CKEditorCustomConfig' => ['default' => $myCKEConfFile]]];
}
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment