social_follow_content.api.php in Open Social 10.0.x
Same filename and directory in other branches
- 8.9 modules/social_features/social_follow_content/social_follow_content.api.php
- 8.4 modules/social_features/social_follow_content/social_follow_content.api.php
- 8.5 modules/social_features/social_follow_content/social_follow_content.api.php
- 8.6 modules/social_features/social_follow_content/social_follow_content.api.php
- 8.7 modules/social_features/social_follow_content/social_follow_content.api.php
- 8.8 modules/social_features/social_follow_content/social_follow_content.api.php
- 10.3.x modules/social_features/social_follow_content/social_follow_content.api.php
- 10.1.x modules/social_features/social_follow_content/social_follow_content.api.php
- 10.2.x modules/social_features/social_follow_content/social_follow_content.api.php
Hooks provided by the Social Follow Content module.
File
modules/social_features/social_follow_content/social_follow_content.api.phpView source
<?php
/**
* @file
* Hooks provided by the Social Follow Content module.
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Provide a method to alter the automatically follow content types.
*
* @param array $types
* An array of content types.
*/
function hook_social_follow_content_types_alter(array &$types) {
$types[] = 'topic';
}
/**
* @} End of "addtogroup hooks".
*/
Functions
Name![]() |
Description |
---|---|
hook_social_follow_content_types_alter | Provide a method to alter the automatically follow content types. |