function social_post_photo_install in Open Social 10.2.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_post/modules/social_post_photo/social_post_photo.install \social_post_photo_install()
- 8 modules/social_features/social_post/modules/social_post_photo/social_post_photo.install \social_post_photo_install()
- 8.2 modules/social_features/social_post/modules/social_post_photo/social_post_photo.install \social_post_photo_install()
- 8.3 modules/social_features/social_post/modules/social_post_photo/social_post_photo.install \social_post_photo_install()
- 8.4 modules/social_features/social_post/modules/social_post_photo/social_post_photo.install \social_post_photo_install()
- 8.5 modules/social_features/social_post/modules/social_post_photo/social_post_photo.install \social_post_photo_install()
- 8.6 modules/social_features/social_post/modules/social_post_photo/social_post_photo.install \social_post_photo_install()
- 8.7 modules/social_features/social_post/modules/social_post_photo/social_post_photo.install \social_post_photo_install()
- 8.8 modules/social_features/social_post/modules/social_post_photo/social_post_photo.install \social_post_photo_install()
- 10.3.x modules/social_features/social_post/modules/social_post_photo/social_post_photo.install \social_post_photo_install()
- 10.0.x modules/social_features/social_post/modules/social_post_photo/social_post_photo.install \social_post_photo_install()
- 10.1.x modules/social_features/social_post/modules/social_post_photo/social_post_photo.install \social_post_photo_install()
Install hook for Social Post Photo.
File
- modules/
social_features/ social_post/ modules/ social_post_photo/ social_post_photo.install, line 14 - The Social post photo installation.
Code
function social_post_photo_install() {
// Set some default permissions.
_social_post_photo_set_permissions();
// Change post to photo.
_social_post_photo_settype('post', 'photo');
}