function i18n_path_install in Internationalization 7
Implements hook_install().
File
- i18n_path/
i18n_path.install, line 11 - Install, update and uninstall functions for the text module.
Code
function i18n_path_install() {
// Set module weight for it to run after core modules, but before views.
db_update('system')
->fields(array(
'weight' => 5,
))
->condition('name', 'i18n_path', '=')
->condition('type', 'module', '=')
->execute();
}