function useractivity_install in Activity 6
Same name and namespace in other branches
- 5.4 contrib/useractivity/useractivity.install \useractivity_install()
Implementation of hook_install().
File
- contrib/
useractivity/ useractivity.install, line 7
Code
function useractivity_install() {
if (!module_exists('activity')) {
module_load_include('module', 'activity');
}
activity_install_activity_defaults('useractivity');
drupal_set_message(t('Activity integration with User module installed. Go to <a href="@settings">User Activity settings</a> to customize ', array(
'@settings' => url('admin/settings/activity/useractivity'),
)));
}