function i18n_install in Internationalization 6
Same name and namespace in other branches
- 5.3 i18n.install \i18n_install()
- 5 i18n.install \i18n_install()
- 5.2 i18n.install \i18n_install()
- 7 i18n.install \i18n_install()
Set language field in its own table Do not drop node.language now, just in case TO-DO: Drop old tables, fields
File
- ./
i18n.install, line 43 - Installation file for Internationalization (i18n) module.
Code
function i18n_install() {
// Create database tables
drupal_install_schema('i18n');
// Set module weight for it to run after core modules
db_query("UPDATE {system} SET weight = 10 WHERE name = 'i18n' AND type = 'module'");
}