function social_comment_install in Open Social 8.8
Same name and namespace in other branches
- 8.9 modules/social_features/social_comment/social_comment.install \social_comment_install()
- 8 modules/social_features/social_comment/social_comment.install \social_comment_install()
- 8.2 modules/social_features/social_comment/social_comment.install \social_comment_install()
- 8.3 modules/social_features/social_comment/social_comment.install \social_comment_install()
- 8.4 modules/social_features/social_comment/social_comment.install \social_comment_install()
- 8.5 modules/social_features/social_comment/social_comment.install \social_comment_install()
- 8.6 modules/social_features/social_comment/social_comment.install \social_comment_install()
- 8.7 modules/social_features/social_comment/social_comment.install \social_comment_install()
- 10.3.x modules/social_features/social_comment/social_comment.install \social_comment_install()
- 10.0.x modules/social_features/social_comment/social_comment.install \social_comment_install()
- 10.1.x modules/social_features/social_comment/social_comment.install \social_comment_install()
- 10.2.x modules/social_features/social_comment/social_comment.install \social_comment_install()
Implements hook_install().
Perform actions related to the installation of social_comment.
File
- modules/
social_features/ social_comment/ social_comment.install, line 15 - Install, update and uninstall functions for the social_comment module.
Code
function social_comment_install() {
// Set some default permissions.
_social_comment_set_permissions();
// Set the view mode to use when shown in activities.
activity_creator_set_entity_view_mode('comment', 'activity');
}