Something similar was taking place in drupal 7.
I have hook_views_query_alter in MODULENAME.views.inc file in the same folder as module file. I found out, that query handler is class views_plugin_query_default. Within that class:
function alter(&$view) {//dpm($view); foreach (module_implements('views_query_alter') as $module) {//dpm($module); $function = $module . '_views_query_alter'; $function($view, $this); } }
Is called, but can't find any module that implements hook...
Of course I cleared all the caches, even truncated tables cache_views and cache_views_data, all in vain.
AFAIR in drupal 7 similar problem solved itself automagically after some time, and hook_views_query_alter started to work. So maybe there is something else cached somewhere? Maybe .inc file is not being seen by backdrop? Access rights are as usual...
Recent comments
Clear caches?
Admin icons are displayed at the wrong size
Heya @DrAlbany, Yes, if you could add me as a contributor that would be great. I'm doing a bunch of "triage" on my site these days, fixing stuff and (slowly)...
Ubercart Product Kit(s) - Advice, Tips, Lore, Acumen
Wow! @bugfolder What a fantastic response! I am so grateful for the effort you obviously put in. I just wanted to give you some FF on the sheer size and depth of...
Ubercart Product Kit(s) - Advice, Tips, Lore, Acumen
Hi..., Our ubercart.dev site is a work in progress... I'm happy to add you as a contributor etc... UC is something I use and want to help the documentation live on...
Ubercart Product Kit(s) - Advice, Tips, Lore, Acumen
Hi Graham, I don't have answers to all your questions, but I do for some: answers inline below. Thank you for your comments, especially the assurance(s) that UC Product Kit...
Ubercart Product Kit(s) - Advice, Tips, Lore, Acumen