You are here

function flagactivity_install in Activity 6

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

Implementation of hook_install().

File

contrib/flagactivity/flagactivity.install, line 7

Code

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