You are here

function drupalchat_install in DrupalChat 8

Same name and namespace in other branches
  1. 6.2 drupalchat.install \drupalchat_install()
  2. 6 drupalchat.install \drupalchat_install()
  3. 7.2 drupalchat.install \drupalchat_install()
  4. 7 drupalchat.install \drupalchat_install()

Implements hook_install().

File

./drupalchat.install, line 11
Installation file for the DrupalChat module.

Code

function drupalchat_install() {

  // TODO The drupal_(un)install_schema functions are called automatically in D7.
  $success = array();
  if ($success) {
    drupal_set_message(st('The DrupalChat module installed tables successfully.'));
  }
  else {

    //drupal_set_message(st('The installation of the DrupalChat module failed.'), 'error');
  }
}