function transliteration_install in Transliteration 6
Same name and namespace in other branches
- 5.2 transliteration.install \transliteration_install()
- 6.3 transliteration.install \transliteration_install()
- 6.2 transliteration.install \transliteration_install()
- 7.3 transliteration.install \transliteration_install()
Implementation of hook_install().
File
- ./
transliteration.install, line 6
Code
function transliteration_install() {
transliteration_install_compat();
$errors = transliteration_install_retroactive();
if (!$errors) {
drupal_set_message('Existing filenames have been successfully transliterated.');
}
else {
$message = 'Not all existing filenames could be transliterated. The following files could not be accessed:';
$message .= theme_item_list($errors);
drupal_set_message($message, 'error');
}
}