public function GroupRequestController::getTitleApproveRequest in Open Social 10.3.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_group/modules/social_group_request/src/Controller/GroupRequestController.php \Drupal\social_group_request\Controller\GroupRequestController::getTitleApproveRequest()
- 10.0.x modules/social_features/social_group/modules/social_group_request/src/Controller/GroupRequestController.php \Drupal\social_group_request\Controller\GroupRequestController::getTitleApproveRequest()
- 10.1.x modules/social_features/social_group/modules/social_group_request/src/Controller/GroupRequestController.php \Drupal\social_group_request\Controller\GroupRequestController::getTitleApproveRequest()
- 10.2.x modules/social_features/social_group/modules/social_group_request/src/Controller/GroupRequestController.php \Drupal\social_group_request\Controller\GroupRequestController::getTitleApproveRequest()
Return the title for approve request confirmation page.
File
- modules/
social_features/ social_group/ modules/ social_group_request/ src/ Controller/ GroupRequestController.php, line 90
Class
- GroupRequestController
- Returns responses for Group request routes.
Namespace
Drupal\social_group_request\ControllerCode
public function getTitleApproveRequest(GroupInterface $group, GroupContentInterface $group_content) {
return $this
->t('Approve membership request for the group @group_title', [
'@group_title' => $group
->label(),
]);
}