You are here

function dynamic_banner_install in Dynamic Banner 6

Same name and namespace in other branches
  1. 8 dynamic_banner.install \dynamic_banner_install()
  2. 7.2 dynamic_banner.install \dynamic_banner_install()
  3. 7 dynamic_banner.install \dynamic_banner_install()
  4. 8.x dynamic_banner.install \dynamic_banner_install()

Implements hook_install().

File

./dynamic_banner.install, line 75
The install file of dynamic_banner

Code

function dynamic_banner_install() {
  drupal_install_schema('dynamic_banner');

  // default settings install
  variable_set('dynamic_banner_display_setting', 'urltext');
  variable_set('dynamic_banner_display_errors', FALSE);
  drupal_set_message(st('Dynamic Banner Module installed successfully.'), 'warning');
}