Download & Extend

Split DRUPAL_BOOTSTRAP_FULL into before and after contrib is loaded

Project:Drupal core
Version:7.x-dev
Component:base system
Category:feature request
Priority:normal
Assigned:JoshuaRogers
Status:closed (duplicate)

Issue Summary

At present there are a few application where it would be useful to have a fully loaded Drupal system without ANY extra modules being loaded: Plugin Manager for one. (Also, I tend to think that update could benefit from it.) Unfortunately, one does not exist. Currently DRUPAL_BOOTSTRAP_FULL finishes loaded the base system and then loads modules that have been labeled as enabled. This patch adds another stage to the bootstrapping process: DRUPAL_BOOTSTRAP_CORE. It run right before DRUPAL_BOOTSTRAP_FULL. It loads the system up to being fully usable. DRUPAL_BOOTSTRAP_FULL simply finishes the job by loading contrib modules.

This is a necessary step in allowing Drupal to attempt to recover itself in the event that a contrib module is broken / malicious.

AttachmentSizeStatusTest resultOperations
add_bootstrap_core_phase.patch3.76 KBIdlePassed: 11853 passes, 0 fails, 0 exceptionsView details | Re-test

Comments

#1

nobody click here