You are here

function favorite_nodesactivity_install in Activity 6

Same name and namespace in other branches
  1. 5.4 contrib/favorite_nodesactivity/favorite_nodesactivity.install \favorite_nodesactivity_install()

Implementation of hook_install().

File

contrib/favorite_nodesactivity/favorite_nodesactivity.install, line 7

Code

function favorite_nodesactivity_install() {
  if (!module_exists('activity')) {
    module_load_include('module', 'activity');
  }
  activity_install_activity_defaults('favorite_nodesactivity');
  drupal_set_message(t('Activity integration with Favorite Nodes module installed. Go to <a href="@settings">Favorite Nodes Activity settings</a> to customize ', array(
    '@settings' => url('admin/settings/activity/favorite_nodesactivity'),
  )));
}