src/Tasks.php
public function projectSetupSettings() {
    $settings_file = $this->root() . '/build/sites/default/settings.php';
    $processor = new SettingsProcessor(Robo::config());
    $content = $processor->process($settings_file);
    $this->collectionBuilder()->addTaskList([
      $this->taskFilesystemStack()->chmod('build/sites', 0775, 0000, TRUE),
      $this->taskWriteToFile($settings_file)->text($content),
    ])->run();
  }
public function projectSetupSettings() {
    $settings_file = $this->root() . '/build/sites/default/settings.php';
    $processor = new SettingsProcessor(Robo::config());
    $content = $processor->process($settings_file);
    $this->collectionBuilder()->addTaskList([
      $this->taskFilesystemStack()->chmod('build/sites', 0775, 0000, TRUE),
      $this->taskWriteToFile($settings_file)->text($content),
    ])->run();
  }
public function projectSetupSettings ( ) { $ settings_file = $ this -> root ( ) . '/build/sites/default/settings.php' ; $ processor = new SettingsProcessor ( Robo :: config ( ) ) ; $ content = $ processor -> process ( $ settings_file ) ; $ this -> collectionBuilder ( ) -> addTaskList ( [ $ this -> taskFilesystemStack ( ) -> chmod ( 'build/sites' , 0775 , 0000 , TRUE ) , $ this -> taskWriteToFile ( $ settings_file ) -> text ( $ content ) , ] ) -> run ( ) ; }
Setup Drupal settings.

@command project:setup-settings
@aliases pss
Setup Drupal settings .