function autofloat_install in AutoFloat 6
Same name and namespace in other branches
- 8 autofloat.install \autofloat_install()
- 6.2 autofloat.install \autofloat_install()
- 7.2 autofloat.install \autofloat_install()
- 7 autofloat.install \autofloat_install()
Implements hook_install().
File
- ./
autofloat.install, line 10 - Sets post-install messages and deletes variables when uninstalled.
Code
function autofloat_install() {
$t = get_t();
$text = $t('Add the AutoFloat filter to a text format under !formats_link. Move it below other image related filters in the filter processing order. AutoFloat settings are available under !config_link.', array(
'!formats_link' => l($t('Site configuration > Input formats'), 'admin/settings/filters'),
'!config_link' => l($t('Site configuration > AutoFloat'), 'admin/settings/autofloat'),
));
drupal_set_message($text);
}