CRM-4210 hook_civicrm_customFieldOptions should be passed $form

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      hook_civicrm_customFieldOptions should get a reference to $form so that options can be conditionally altered based on the form the field appears in.

        Attachments

          Activity

          [CRM-4210] hook_civicrm_customFieldOptions should be passed $form
          Donald A. Lobo added a comment -

          i asked tom to file this issue before investigating further

          the goal of the hook was to "extend" the custom options for all use cases and not / form. also those are used for different pages and search which will not have one specific context.

          so its a bit hard currently, hence wont fix

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Tom Kirkpatrick

              Dates

              • Created:
                Updated:
                Resolved: