function lingotek_update_8211 in Lingotek Translation 8.2
The default for appending content type to the document name was changed so make sure current users continue to see the same behavior as before the update.
File
- ./
lingotek.install, line 622 - Install, update and uninstall functions for the Lingotek module.
Code
function lingotek_update_8211() {
/** @var \Drupal\lingotek\LingotekConfigurationServiceInterface $lingotek_config */
$lingotek_config = \Drupal::service('lingotek.configuration');
$lingotek_config
->setPreference('append_type_to_title', TRUE);
}