function lingotek_set_priority in Lingotek Translation 7.2
Same name and namespace in other branches
- 7.7 lingotek.util.inc \lingotek_set_priority()
- 7.3 lingotek.util.inc \lingotek_set_priority()
- 7.4 lingotek.util.inc \lingotek_set_priority()
- 7.5 lingotek.util.inc \lingotek_set_priority()
- 7.6 lingotek.util.inc \lingotek_set_priority()
3 calls to lingotek_set_priority()
- lingotek_cleanup_utility in ./
lingotek.util.inc - lingotek_enable in ./
lingotek.install - Implements hook_enable().
- lingotek_update_7205 in ./
lingotek.install - Ensure that the Lingotek module has a weight higher than entity_translation.
File
- ./
lingotek.util.inc, line 914 - Utility functions.
Code
function lingotek_set_priority() {
db_update('system')
->fields(array(
'weight' => 12,
))
->condition('name', 'lingotek')
->execute();
}