public function getPrecedingSteps()
 {
     $options = $this->getOptions();
     $inputData = null;
     if (isset($options['inputData'])) {
         $inputData = $options['inputData'];
     }
     //Step to get input
     $getInputStep = new InputStep(Installer::trans("installer.inputDbConfigStepName"), ['type' => "Input", 'fields' => ['host' => 'Host', 'database' => 'Database', 'username' => 'Username', 'password' => ['title' => 'Password', 'type' => 'string']], 'data' => $inputData, 'blocking' => true]);
     //Step to test DB connection
     $checkConnectionStep = new CheckDbConnectionStep(Installer::trans("installer.checkDbConfigStepName"), ['blocking' => true]);
     $checkConnectionStep->setSourceStep($getInputStep);
     $this->setSourceStep($getInputStep);
     return array($getInputStep, $checkConnectionStep);
 }