<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">.info files aren't processed during
bootstrap. They only get processed during certain actions and
special pages, such as flushing caches, visiting the modules page,
etc. Once it reads the files, it then stores/updates the data in
the system table. The actual function that does this is
drupal_parse_info_file, located in common.inc and is most commonly
called through module_rebuild_cache.<br>
<br>
On the theme side a very similar process happens in the
system_theme_data in system.module. The most common caller for
that is from dupal_flush_all_caches().<br>
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://hollyit.net">http://hollyit.net</a></pre>
On 10/11/2013 11:32 AM, Chris Miller wrote:<br>
</div>
<blockquote
cite="mid:1265176001.33835.1381505569648.JavaMail.root@tryx.org"
type="cite">
<div style="font-family: arial, helvetica, sans-serif; font-size:
10pt; color: #000000">
<div>Hi Folks,</div>
<div><br>
</div>
<div>Which bootstrap phase has enough environment established
that Drupal can now start going through the filesystem looking
for *.info files and loading modules? Does this happen in two
steps -- core and contrib? Or does this happen much later
after the bootstrap phases?</div>
<div><br>
</div>
<div>I spent some time stepping through bootstrap code yesterday
and I was unable to find the meat of the procedure. Lots of
calls to drupal_static which is part of loading the internal,
in-memory configuration structures, and even a call to read
the database "select * from cache_bootstrap where cid =
'system_list';" (Where is this row constructed and written to
the database so bootstrapping can read it?) which has the
effect of loading much of $data.</div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt;">Thanks for the help,</span></div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span name="x"></span>Chris.</div>
</div>
</blockquote>
<br>
</body>
</html>