social_group.api.php in Open Social 8
Same filename and directory in other branches
- 8.9 modules/social_features/social_group/social_group.api.php
- 8.2 modules/social_features/social_group/social_group.api.php
- 8.3 modules/social_features/social_group/social_group.api.php
- 8.4 modules/social_features/social_group/social_group.api.php
- 8.5 modules/social_features/social_group/social_group.api.php
- 8.6 modules/social_features/social_group/social_group.api.php
- 8.7 modules/social_features/social_group/social_group.api.php
- 8.8 modules/social_features/social_group/social_group.api.php
- 10.3.x modules/social_features/social_group/social_group.api.php
- 10.0.x modules/social_features/social_group/social_group.api.php
- 10.1.x modules/social_features/social_group/social_group.api.php
- 10.2.x modules/social_features/social_group/social_group.api.php
Hooks provided by the Social_group module.
File
modules/social_features/social_group/social_group.api.phpView source
<?php
/**
* @file
* Hooks provided by the Social_group module.
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Provide a method to return node which was moved to another group.
*
* @param \Drupal\node\NodeInterface $node
* The event or topic node.
*
* @ingroup social_group_api
*/
function hook_social_group_move(\Drupal\node\NodeInterface $node) {
drupal_set_message(t('@title is moved.', [
'@title' => $node
->getTitle(),
]));
}
/**
* @} End of "addtogroup hooks".
*/
Functions
Name | Description |
---|---|
hook_social_group_move | Provide a method to return node which was moved to another group. |