You are here

function lingotek_update_9402 in Lingotek Translation 3.8.x

Same name and namespace in other branches
  1. 4.0.x lingotek.install \lingotek_update_9402()

Remove enable_download_interim preference from lingotek.settings.

File

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

Code

function lingotek_update_9402() {
  $lingotekSettings = \Drupal::configFactory()
    ->getEditable('lingotek.settings');
  $lingotekSettings
    ->clear('preference.enable_download_interim');
  $lingotekSettings
    ->save();
}