You are here

function ogactivity_install in Activity 5.4

Same name and namespace in other branches
  1. 6 contrib/ogactivity/ogactivity.install \ogactivity_install()

Implementation of hook_install().

File

contrib/ogactivity/ogactivity.install, line 6

Code

function ogactivity_install() {
  if (!module_exists('activity')) {
    require_once drupal_get_path('module', 'activity') . '/activity.module';
  }
  activity_install_activity_defaults('ogactivity');
  drupal_set_message(t('Activity integration with Organic Groups installed. Go to <a href="@settings">Organic Groups Activity settings</a> to customize ', array(
    '@settings' => url('admin/settings/activity/ogactivity'),
  )));
}