Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This patch only makes bootstrap's current_phase a global variable, for which I renamed it.
This may be important for some modules which, in init/exit hooks, want to know whether they've been called from bootstrap for a cached page or from common.inc.
It will be used by i18n module but there may be some other uses.
Comment | File | Size | Author |
---|---|---|---|
bootstrap_global_status_01.patch | 927 bytes | Jose Reyero | |
Comments
Comment #1
lilou CreditAttribution: lilou commentedThis feature request is it still valid ?
Comment #2
mr.baileysIn D7, modules can discover what bootstrap phase they're called in by calling drupal_get_bootstrap_phase(), so bumping to 6.x.