public function SocialGroupController::groupStreamTitle in Open Social 8
Same name and namespace in other branches
- 8.9 modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::groupStreamTitle()
- 8.2 modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::groupStreamTitle()
- 8.3 modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::groupStreamTitle()
- 8.4 modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::groupStreamTitle()
- 8.5 modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::groupStreamTitle()
- 8.6 modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::groupStreamTitle()
- 8.7 modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::groupStreamTitle()
- 8.8 modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::groupStreamTitle()
- 10.3.x modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::groupStreamTitle()
- 10.0.x modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::groupStreamTitle()
- 10.1.x modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::groupStreamTitle()
- 10.2.x modules/social_features/social_group/src/Controller/SocialGroupController.php \Drupal\social_group\Controller\SocialGroupController::groupStreamTitle()
The _title_callback for the view.posts.block_stream_group route.
Parameters
object $group: The group ID.
Return value
string The page title.
File
- modules/
social_features/ social_group/ src/ Controller/ SocialGroupController.php, line 44
Class
- SocialGroupController
- Returns responses for Social Group routes.
Namespace
Drupal\social_group\ControllerCode
public function groupStreamTitle($group) {
$group_label = $group
->label();
return $group_label;
}