You are here

function lingotek_update_8220 in Lingotek Translation 8.2

Adds split_download_all preference to lingotek.settings.

File

./lingotek.install, line 989
Install, update and uninstall functions for the Lingotek module.

Code

function lingotek_update_8220() {
  $lingotekSettings = \Drupal::configFactory()
    ->getEditable('lingotek.settings');
  $lingotekSettings
    ->set('preference.split_download_all', FALSE);
  $lingotekSettings
    ->save();
}