function autofloat_install in AutoFloat 7.2
Same name and namespace in other branches
- 8 autofloat.install \autofloat_install()
- 6.2 autofloat.install \autofloat_install()
- 6 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('Configuration > Content authoring > Text formats'), 'admin/config/content/formats'),
'!config_link' => l($t('Configuration > Content authoring > AutoFloat'), 'admin/config/content/autofloat'),
));
drupal_set_message($text);
}