Details
-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.2
-
Fix Version/s: None
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Verified?:No
Description
Presently, the hook is invoked only when api.VolunteerUtil.getsupportingdata is called.
Our uses for default settings have expanded since this hook was created – namely, the defaults are referenced not just when settings defaults in forms but also during project creation (i.e., at the API level as well as the form level). It would be more appropriate for the hook to live in CRM_Volunteer_BAO_Project::composeDefaultSettingsArray().