You are here

function lingotek_update_7406 in Lingotek Translation 7.4

Same name and namespace in other branches
  1. 7.7 lingotek.install \lingotek_update_7406()
  2. 7.5 lingotek.install \lingotek_update_7406()
  3. 7.6 lingotek.install \lingotek_update_7406()

Makes lingotek handle entities better.

File

./lingotek.install, line 576
Installation for Lingotek Community Translation Module.

Code

function lingotek_update_7406(&$sandbox) {
  $translate_fields = variable_get('lingotek_translate_fields');
  $enabled_fields = array(
    'node' => $translate_fields,
  );
  variable_set('lingotek_enabled_fields', $enabled_fields);
  variable_del('lingotek_translate_fields');
}