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;
  }