function rotor_install in Rotor Banner 7
Same name and namespace in other branches
- 5.7 rotor.install \rotor_install()
- 5 rotor.install \rotor_install()
- 6.2 rotor.install \rotor_install()
- 6 rotor.install \rotor_install()
Implementation of hook_install().
File
- ./
rotor.install, line 13 - Provides install and uninstall functions for rotor.
Code
function rotor_install() {
module_enable(array(
'jquery_plugin',
));
module_enable(array(
'upload_element',
));
drupal_install_schema('rotor');
db_query("DELETE FROM {cache_views}");
drupal_set_message(t('Rotor Banner installed'));
}