You are here

function user_relationshipsactivity_install in Activity 6

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

Implementation of hook_install().

File

contrib/user_relationshipsactivity/user_relationshipsactivity.install, line 6

Code

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