Skip to content

Commit

Permalink
added for Drupal 9
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler36 committed Oct 28, 2022
1 parent 9950826 commit b42833d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/ddevapp/drupal/drupal9/settings.ddev.php
Expand Up @@ -28,6 +28,13 @@
'prefix' => "{{ $config.DatabasePrefix }}",
);


// Setting the MySQL transaction isolation level.
// @see https://www.drupal.org/docs/system-requirements/setting-the-mysql-transaction-isolation-level
if ($driver === "mysql") {
$databases['default']['default']['init_commands']['isolation_level'] = 'SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED';
}

$settings['hash_salt'] = '{{ $config.HashSalt }}';

// This will prevent Drupal from setting read-only permissions on sites/default.
Expand Down

0 comments on commit b42833d

Please sign in to comment.