开发者

drupal module_list on every page load

开发者 https://www.devze.com 2023-01-06 03:16 出处:网络
In my devel query info I see module_list being run on every page. This should n开发者_如何学Goot be right?

In my devel query info I see module_list being run on every page.

This should n开发者_如何学Goot be right?

I feel like there's a whole bunch of incorrectly ran queries being run on my site, (there's some unidentified problem), and this is the function that stood out to me.


It's used during bootstrap meaning it's run on all pages. Normally it will just return a static variable, but during bootstrap it'll need to run a query to build the variables..

Drupal uses it to find out which modules you have installed, so it's a very essential function.

0

精彩评论

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

关注公众号