You are here

function replication_update_8103 in Replication 8

Set the default value for the new replication_execution_limit setting.

File

./replication.install, line 186

Code

function replication_update_8103() {
  $replication_settings = \Drupal::configFactory()
    ->getEditable('replication.settings');
  $replication_settings
    ->set('replication_execution_limit', 1)
    ->save(TRUE);
}