You are here

function coffee_enable in Coffee 7.2

Same name and namespace in other branches
  1. 6 coffee.install \coffee_enable()
  2. 7 coffee.install \coffee_enable()

Implements hook_enable().

File

./coffee.install, line 20
Provides installation details for Coffee.

Code

function coffee_enable() {

  // Clear the menu cache so our new AJAX path can respond.
  cache_clear_all(NULL, 'cache_menu');

  // Let users know how to use the module!
  drupal_set_message(t('The Coffee module was successfully enabled, press alt+d to start Coffee.'), 'status');
}