You are here

function votingapiactivity_install in Activity 6

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

Implementation of hook_install().

File

contrib/votingapiactivity/votingapiactivity.install, line 6

Code

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