private function getDefaultPreset() {
    if (!empty($GLOBALS['install_state']['forms'][$this->getFormId()]['preset'])) {
      return $GLOBALS['install_state']['forms'][$this->getFormId()]['preset'];
    };

    if (function_exists('drush_main')) {
      return self::DEFAULT_PRESET_DRUSH;
    }

    return self::DEFAULT_PRESET;
  }
private function getDefaultPreset() {
    if (!empty($GLOBALS['install_state']['forms'][$this->getFormId()]['preset'])) {
      return $GLOBALS['install_state']['forms'][$this->getFormId()]['preset'];
    };

    if (function_exists('drush_main')) {
      return self::DEFAULT_PRESET_DRUSH;
    }

    return self::DEFAULT_PRESET;
  }
private function getDefaultPreset ( ) { if ( ! empty ( $ GLOBALS [ 'install_state' ] [ 'forms' ] [ $ this -> getFormId ( ) ] [ 'preset' ] ) ) { return $ GLOBALS [ 'install_state' ] [ 'forms' ] [ $ this -> getFormId ( ) ] [ 'preset' ] ; } ; if ( function_exists ( 'drush_main' ) ) { return self :: DEFAULT_PRESET_DRUSH ; } return self :: DEFAULT_PRESET ; }
Returns default preset machine name.

@return string
Default preset machine name.
Returns default preset machine name .