Re: Bootstrap Phases
Chris Miller <[email protected]> Fri, 11 Oct 2013 08:54:42 -0700 (PDT)
| Newsgroups | gmane.comp.php.drupal.devel |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_33966_720385442.1381506882396 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit > From: "Jamie Holly" <[email protected]> > To: [email protected] > Sent: Friday, October 11, 2013 8:44:45 AM > Subject: Re: [development] Bootstrap Phases > .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. > 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(). To paraphrase Judge Chamberlain Haller in "My Cousin Vinny" : That is a lucid, intelligent, well thought-out reply. And exactly what I want to hear. Thanks very much for the help, Chris. ------=_Part_33966_720385442.1381506882396 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000"><div></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Jamie Holly" <[email protected]><br><b>To: </b>[email protected]<br><b>Sent: </b>Friday, October 11, 2013 8:44:45 AM<br><b>Subject: </b>Re: [development] Bootstrap Phases<br><div><br></div><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().</div></blockquote><div>To paraphrase <span class="character">Judge Chamberlain Haller in "My Cousin Vinny"</span>: That is a lucid, intelligent, well thought-out reply.</div><div><br></div><div>And exactly what I want to hear. <span style="font-size: 10pt;">Thanks very much for the help,</span></div><div><br></div><div><span style="font-size: 10pt;">Chris.</span></div><div><span name="x"></span><br></div></div></body></html> ------=_Part_33966_720385442.1381506882396--