Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-16891

Add hook_civicrm_coreResourceList

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6
    • Fix Version/s: 4.6.6
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Core Team Funds

      Description

      After working on CRM-16354 and CRM-16444 and an ensuing discussion on the blog, it seems clear to me that we need this hook. Granted, CRM_Core_Resources::coreResourceList is not "the best" of functions and may eventually get supplanted by a more efficient dependency-loader. But for now, extensions like TinyMCE need a reliable way to alter that list. Since there's already a quasi-hook in place for the benefit of cms-integration code, we might as well make it a real hook.

      Since 4.6 is the next lts release, seems to make sense to go ahead and put it there, similar to the way new apis get backported to the lts.

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              colemanw Coleman Watts
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: