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
Thank you, olafski I had already done that, but switching languages wasn't tied to whatever layouts were needed. I'll work with the other reply, see if I can replicate the...
How to translate my site content
Both issues solved! Thank you.
View/Edit tabs missing
Hello, Backdrop CMS has options for multilingual sites, but they are limited and do not cover all needs. A complete solution for a multilingual site requires the installation of i18. I...
How to translate my site content
Hi Steve, you can add a site-wide language switcher for visitors as a block to your layout(s). To do so, go to your layout, click "Add block", e.g. in the Header region, search for "language",...
How to translate my site content
As some folks have mentioned, some work has gone into this. We actually added the ability to have "draft revisions" into core, BUT we never completed the front end user interface for this...
managing draft revisions while still having a version published