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
1.x-1.0.1 – Improvements and Bug Fixes Improved styling for forms, tables, Views, tabs, pagers, and status messages. Enhanced responsive navigation and...
Free Backdrop Theme built on Tailwind CSS v3 (Based on Basis) - Seeking Feedback & Ideas!
Hi Mike, to add a "Data export" display, click the +Add button and choose "Data export" (see screenshot below). You even don't need the "Page" display, by the way. If you keep it and...
Updating a previous feeds import?
Although this is an old topic, I think it is still relevant today. The ability to include a `config` folder in themes opens up many possibilities for theme designers. It allows themes to...
Themes config folder
Installed the module. I've created a view that shows the NiD and Title which should be all I need to add the NiD to the original import data. How do I: "Add a new "Data export...
Updating a previous feeds import?
To export your nodes, you could install the Views Data Export module, build a view of the nodes and export them for example as CSV file.
Updating a previous feeds import?