diff --git a/docs/framework/resources.md b/docs/framework/resources.md index 109a2b9c31d58f53cee5663d13bc585b81b33483..5bbcf770363155be75084d029684397216043194 100644 --- a/docs/framework/resources.md +++ b/docs/framework/resources.md @@ -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.