function hook_social_group_move in Open Social 8.2
Same name and namespace in other branches
- 8.9 modules/social_features/social_group/social_group.api.php \hook_social_group_move()
- 8 modules/social_features/social_group/social_group.api.php \hook_social_group_move()
- 8.3 modules/social_features/social_group/social_group.api.php \hook_social_group_move()
- 8.4 modules/social_features/social_group/social_group.api.php \hook_social_group_move()
- 8.5 modules/social_features/social_group/social_group.api.php \hook_social_group_move()
- 8.6 modules/social_features/social_group/social_group.api.php \hook_social_group_move()
- 8.7 modules/social_features/social_group/social_group.api.php \hook_social_group_move()
- 8.8 modules/social_features/social_group/social_group.api.php \hook_social_group_move()
- 10.3.x modules/social_features/social_group/social_group.api.php \hook_social_group_move()
- 10.0.x modules/social_features/social_group/social_group.api.php \hook_social_group_move()
- 10.1.x modules/social_features/social_group/social_group.api.php \hook_social_group_move()
- 10.2.x modules/social_features/social_group/social_group.api.php \hook_social_group_move()
Provide a method to return node which was moved to another group.
Parameters
\Drupal\node\NodeInterface $node: The event or topic node.
1 function implements hook_social_group_move()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- activity_basics_social_group_move in modules/
custom/ activity_basics/ activity_basics.module - Implements hook_social_group_move().
File
- modules/
social_features/ social_group/ social_group.api.php, line 52 - Hooks provided by the Social Group module.
Code
function hook_social_group_move(\Drupal\node\NodeInterface $node) {
drupal_set_message(t('@title is moved.', [
'@title' => $node
->getTitle(),
]));
}