Adding/modifying some todos
parent
73fee52af4
commit
768925132d
|
@ -1412,6 +1412,7 @@ function install_bootstrap_full(&$install_state) {
|
||||||
// Clear the module list that was overriden earlier in the process.
|
// Clear the module list that was overriden earlier in the process.
|
||||||
// This will allow all freshly installed modules to be loaded.
|
// This will allow all freshly installed modules to be loaded.
|
||||||
module_list_reset();
|
module_list_reset();
|
||||||
|
// @todo Figure out how best to handle the Kernel constructor parameters.
|
||||||
$kernel = new DrupalKernel('prod', FALSE);
|
$kernel = new DrupalKernel('prod', FALSE);
|
||||||
$kernel->boot();
|
$kernel->boot();
|
||||||
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
|
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
|
||||||
|
|
|
@ -23,9 +23,8 @@ class DrupalKernel extends Kernel {
|
||||||
new CoreBundle(),
|
new CoreBundle(),
|
||||||
);
|
);
|
||||||
|
|
||||||
// TODO: Somehow remove the necessity of calling system_list() to find out which
|
// TODO: Remove the necessity of calling system_list() to find out which
|
||||||
// bundles exist.
|
// bundles exist. See http://drupal.org/node/1331486
|
||||||
|
|
||||||
$modules = array_keys(system_list('module_enabled'));
|
$modules = array_keys(system_list('module_enabled'));
|
||||||
foreach ($modules as $module) {
|
foreach ($modules as $module) {
|
||||||
$camelized = ContainerBuilder::camelize($module);
|
$camelized = ContainerBuilder::camelize($module);
|
||||||
|
|
|
@ -27,6 +27,7 @@ define('DRUPAL_ROOT', getcwd());
|
||||||
require_once DRUPAL_ROOT . '/core/includes/bootstrap.inc';
|
require_once DRUPAL_ROOT . '/core/includes/bootstrap.inc';
|
||||||
drupal_bootstrap(DRUPAL_BOOTSTRAP_CODE);
|
drupal_bootstrap(DRUPAL_BOOTSTRAP_CODE);
|
||||||
|
|
||||||
|
// @todo Figure out how best to handle the Kernel constructor parameters.
|
||||||
$kernel = new DrupalKernel('prod', FALSE);
|
$kernel = new DrupalKernel('prod', FALSE);
|
||||||
|
|
||||||
// Create a request object from the HTTPFoundation.
|
// Create a request object from the HTTPFoundation.
|
||||||
|
|
Loading…
Reference in New Issue