function InstallerKernel::resetConfigStorage

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Installer/InstallerKernel.php \Drupal\Core\Installer\InstallerKernel::resetConfigStorage()
  2. 10 core/lib/Drupal/Core/Installer/InstallerKernel.php \Drupal\Core\Installer\InstallerKernel::resetConfigStorage()
  3. 11.x core/lib/Drupal/Core/Installer/InstallerKernel.php \Drupal\Core\Installer\InstallerKernel::resetConfigStorage()

Reset the bootstrap config storage.

Use this from a database driver runTasks() if the method overrides the bootstrap config storage. Normally the bootstrap config storage is not re-instantiated during a single install request. Most drivers will not need this method.

See also

\Drupal\Core\Database\Install\Tasks::runTasks()

File

core/lib/Drupal/Core/Installer/InstallerKernel.php, line 34

Class

InstallerKernel
Extend DrupalKernel to handle force some kernel behaviors.

Namespace

Drupal\Core\Installer

Code

public function resetConfigStorage() {
    $this->configStorage = NULL;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.