You are here

public function Tasks::runTasks in MongoDB 8

Run database tasks and tests to see if Drupal can run on the database.

Return value

array A list of error messages.

Overrides Tasks::runTasks

File

drivers/lib/Drupal/Driver/Database/mongodb/Install/Tasks.php, line 38

Class

Tasks

Namespace

Drupal\Driver\Database\mongodb\Install

Code

public function runTasks() {
  if (!Settings::get('bootstrap_config_storage')) {
    \Drupal::service('class_loader')
      ->addPsr4('Drupal\\mongodb\\', 'modules/mongodb/src');
  }
  parent::runTasks();
}