function lingotek_update_8221 in Lingotek Translation 3.0.x
Same name and namespace in other branches
- 8.2 lingotek.install \lingotek_update_8221()
- 4.0.x lingotek.install \lingotek_update_8221()
- 3.1.x lingotek.install \lingotek_update_8221()
- 3.2.x lingotek.install \lingotek_update_8221()
- 3.3.x lingotek.install \lingotek_update_8221()
- 3.4.x lingotek.install \lingotek_update_8221()
- 3.5.x lingotek.install \lingotek_update_8221()
- 3.6.x lingotek.install \lingotek_update_8221()
- 3.7.x lingotek.install \lingotek_update_8221()
- 3.8.x lingotek.install \lingotek_update_8221()
Removes Lingotek Content Cloud unused settings.
File
- ./
lingotek.install, line 116 - Install, update and uninstall functions for the Lingotek module.
Code
function lingotek_update_8221() {
$lingotekSettings = \Drupal::configFactory()
->getEditable('lingotek.settings');
$lingotekSettings
->clear('preference.enable_content_cloud');
$lingotekSettings
->clear('preference.content_cloud_import_format');
$lingotekSettings
->clear('preference.content_cloud_import_status');
$lingotekSettings
->save();
}