You are here

function views_bookmarkactivity_install in Activity 5.4

Implementation of hook_install().

File

contrib/views_bookmarkactivity/views_bookmarkactivity.install, line 6

Code

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