Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Just wondering how it works. I didn't find this hook in views module.
/**
* Implements hook_views_tables_alter().
*
* Conditionally adds editablefields support.
*/
function uc_product_views_tables_alter(&$tables) {
Comment | File | Size | Author |
---|---|---|---|
#4 | remove_support_for_editablefields_module-1780880-0.patch | 3.04 KB | Chi |
Comments
Comment #1
longwaveThis is legacy code from 5.x-1.x. I have not tested it in 7.x-3.x and am not convinced it will even work in 6.x-2.x.
Comment #2
longwaveComment #3
longwaveSee also #611038: Support for editablefields which suggests this code should just be removed.
Comment #4
Chi CreditAttribution: Chi commentedHere is the issue in views module #105620: Allow modules to alter the tables and arguments arrays. It was added to views_cache.inc but the file has been removed later.
Here the commit: http://drupalcode.org/project/views.git/commitdiff/582713d953d8c04ee4d42...
So lets remove this hook. I think it should be fixed in editablefields module with hook_views_data_alter().
Comment #5
longwaveCommitted to both branches, thanks.