You are here

function SystemUpdateBootstrapStatus::systemUpdateBootstrapStatus in X Autoload 7.5

See also

_system_update_bootstrap_status()

File

tests/src/VirtualDrupal/SystemUpdateBootstrapStatus.php, line 38

Class

SystemUpdateBootstrapStatus

Namespace

Drupal\xautoload\Tests\VirtualDrupal

Code

function systemUpdateBootstrapStatus() {
  $bootstrap_modules = array();
  foreach (PureFunctions::bootstrapHooks() as $hook) {
    foreach ($this->hookSystem
      ->moduleImplements($hook) as $module) {
      $bootstrap_modules[$module] = TRUE;
    }
  }
  $this->systemTable
    ->setBootstrapModules($bootstrap_modules);

  // Reset the cached list of bootstrap modules.
  $this->systemListReset
    ->systemListReset();
}