You are here

function cumulus_enable in Cumulus 6.2

Same name and namespace in other branches
  1. 6 cumulus.module \cumulus_enable()
  2. 7 cumulus.module \cumulus_enable()

Implementation of hook_enable().

File

./cumulus.module, line 14
The brain of Cumulus.

Code

function cumulus_enable() {
  drupal_set_message(t('Cumulus has now been enabled. You need to !add a view with cumulus selected as output style to display the cloud. Or !activate the example view for a taxonomy cumulus block.', array(
    '!add' => l(t('add'), 'admin/build/views/add'),
    '!activate' => l(t('activate'), 'admin/build/views'),
  )));
  if (!module_exists('views_ui')) {
    drupal_set_message('If you need to activate the cumulus views make sure views UI is active as well.');
  }
}