function taxonomy_image_install in Taxonomy Image 6
Same name and namespace in other branches
- 5 taxonomy_image.install \taxonomy_image_install()
Implementation of hook_install().
File
- ./
taxonomy_image.install, line 194 - taxonomy_image.install. Simple module for providing an association between taxonomy terms and images. Written by Jeremy Andrews <jeremy@kerneltrap.org>, May 2004.
Code
function taxonomy_image_install() {
$result = drupal_install_schema('taxonomy_image');
if (count($result) > 0) {
drupal_set_message(t('The Taxonomy Image module was installed. You may want to go to the <a href="!settings">settings page now</a>.', array(
'!settings' => url('admin/settings/taxonomy_image'),
)));
}
else {
drupal_set_message(t('Taxonomy Image table creation failed. Please "uninstall" the module and retry.'));
}
}