You are here

public function ConnectionSettings::exportConfiguration in Drupal driver for SQL Server and SQL Azure 8.2

Export current driver configuration.

Return value

array

File

drivers/lib/Drupal/Driver/Database/sqlsrv/ConnectionSettings.php, line 79

Class

ConnectionSettings
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(),
    'statement_caching_mode' => $this
      ->GetStatementCachingMode(),
    'append_stack_comments' => $this
      ->GetAppendCallstackComment(),
    'default_statement_caching' => $this
      ->GetDeafultStatementCaching(),
    'additional_dsn' => $this
      ->GetAdditionalDSN(),
  );
}