Skip to content
Snippets Groups Projects
Unverified Commit e8e50a63 authored by Sean Madsen's avatar Sean Madsen Committed by GitHub
Browse files

Merge pull request #509 from seamuslee001/core_resource_list_hook

Resolve #491 Reference hook_civicrm_coreResourceList in the advanced …
parents 6bf533b0 a99ee1b3
No related branches found
No related tags found
No related merge requests found
......@@ -91,3 +91,5 @@ For Smarty APIs (`{crmScript}` and `{crmStyle}`), the optional weight and region
{crmScript ext=com.example.foo file=bar.js weight=10 region=page-footer}
{crmStyle url="http://example.com/bar.css" weight=10 region=page-footer}
```
If extensions want to modify what core styles and scripts are loaded you can use the hook [`hook_civicrm_coreResourceList`](/hooks/hook_civicrm_coreResourceList.md) to modify which styles or scripts are loaded. The hook would also allow you to add an array of javascript settings into the CRM javascript object.
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