function discussthis_install in Discuss This! 7
Same name and namespace in other branches
- 5 discussthis.install \discussthis_install()
- 6 discussthis.install \discussthis_install()
- 7.2 discussthis.install \discussthis_install()
Implements hook_install().
This function creates a table that the module uses to map the forum posts to the originating nodes.
File
- ./
discussthis.install, line 45 - Installtion functions for Discuss This! module.
Code
function discussthis_install() {
// Inform the user that permissions and Discuss This! settings are waiting.
drupal_set_message(t('The Discuss This! module is now installed. To complete the installation, you probably want to configure !perm and !settings.', array(
'!perm' => l(t('Administer') . ' > ' . t('User') . ' > ' . t('Administer Permissions'), 'admin/user/permissions'),
'!settings' => l(t('Administer') . ' > ' . t('Structure') . ' > ' . t('Discuss This'), 'admin/structure/discussthis'),
)));
}