social_node.install in Open Social 8.9
Same filename and directory in other branches
- 8.8 modules/social_features/social_node/social_node.install
- 10.3.x modules/social_features/social_node/social_node.install
- 10.0.x modules/social_features/social_node/social_node.install
- 10.1.x modules/social_features/social_node/social_node.install
- 10.2.x modules/social_features/social_node/social_node.install
Install, update and uninstall functions for the social_node module.
File
modules/social_features/social_node/social_node.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the social_node module.
*/
/**
* Implements hook_install().
*/
function social_node_install() {
// Set the view mode to use when shown in activities.
activity_creator_set_entity_view_mode('node', 'activity');
}
Functions
Name | Description |
---|---|
social_node_install | Implements hook_install(). |