function dynamic_banner_install in Dynamic Banner 7
Same name and namespace in other branches
- 8 dynamic_banner.install \dynamic_banner_install()
- 6 dynamic_banner.install \dynamic_banner_install()
- 7.2 dynamic_banner.install \dynamic_banner_install()
- 8.x dynamic_banner.install \dynamic_banner_install()
Implements hook_install().
File
- ./
dynamic_banner.install, line 85 - The install file of dynamic_banner
Code
function dynamic_banner_install() {
// The drupal_(un)install_schema functions are called automatically in D7.
// default settings install
variable_set('dynamic_banner_display_setting', 'urltext');
variable_set('dynamic_banner_display_errors', FALSE);
variable_set('dynamic_banner_file_save_path', BANNER_DEFAULT_SAVE_LOCATION);
drupal_set_message(st('Dynamic Banner Module installed successfully.'), 'warning');
}