Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.0.5
-
Fix Version/s: 4.1.0
-
Component/s: Drupal Integration Modules
-
Labels:None
Description
The civicrm_views_add_fields() function is used to automatically build the array passed to hook_views_data when the view_data cache is built. THis function allows us to minimize the amount of code we need to write and automatically picks up schema changes to Core CiviCRM tables. Currently this function is only applied to the civicrm_contact table. This ticket is to fix various issues with the function and generalize it to be applied to any table.