You are here

public function DriverSettings::exportConfiguration in Drupal driver for SQL Server and SQL Azure 8

Export current driver configuration.

Return value

array

File

drivers/lib/Drupal/Driver/Database/sqlsrv/DriverSettings.php, line 118

Class

DriverSettings
Global settings for the driver.

Namespace

Drupal\Driver\Database\sqlsrv

Code

public function exportConfiguration() {
  return array(
    'default_isolation_level' => $this
      ->GetDefaultIsolationLevel(),
    'default_direct_queries' => $this
      ->GetDefaultDirectQueries(),
    'use_native_upsert' => $this
      ->GetUseNativeUpsert(),
    'use_native_merge' => $this
      ->GetUseNativeMerge(),
    'statement_caching_mode' => $this
      ->GetStatementCachingMode(),
    'append_stack_comments' => $this
      ->GetAppendCallstackComment(),
    'default_bypass_query_preprocess' => $this
      ->GetDeafultBypassQueryPreprocess(),
    'default_statement_caching' => $this
      ->GetDeafultStatementCaching(),
    'monitorDriverStatus' => $this
      ->GetMonitorDriverStatus(),
  );
}