public function SocialGroupController::otherGroupPage in Open Social 10.3.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::otherGroupPage()
- 8.5 modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::otherGroupPage()
- 8.6 modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::otherGroupPage()
- 8.7 modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::otherGroupPage()
- 8.8 modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::otherGroupPage()
- 10.0.x modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::otherGroupPage()
- 10.1.x modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::otherGroupPage()
- 10.2.x modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::otherGroupPage()
OtherGroupPage.
Return value
\Symfony\Component\HttpFoundation\RedirectResponse Return Redirect to the group account.
1 string reference to 'SocialGroupController::otherGroupPage'
- social_group.routing.yml in modules/
social_features/ social_group/ social_group.routing.yml - modules/social_features/social_group/social_group.routing.yml
File
- modules/
social_features/ social_group/ src/ Controller/ SocialGroupController.php, line 216
Class
- SocialGroupController
- Returns responses for Social Group routes.
Namespace
Drupal\social_group\ControllerCode
public function otherGroupPage($group) {
return $this
->redirect('entity.group.canonical', [
'group' => $group,
]);
}