开发者

Modify the query that generates the exposed form element in Drupal

开发者 https://www.devze.com 2023-04-10 01:33 出处:网络
I would like to change the dropdown filter in a view, by modifying the query that generates it. I do not want to modify the form values after they got pouplated with data already, because it is huge l

I would like to change the dropdown filter in a view, by modifying the query that generates it. I do not want to modify the form values after they got pouplated with data already, because it is huge list.

Is there a hoo开发者_运维百科k like this view-query modifier for the exposed filter generation query?

function MYMODULE_views_query_alter(&$view, &$query) 

Thanks!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号