开发者

Modify the query that generates the exposed form element in Drupal

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜