public function GroupRequestController::getTitleRejectRequest in Open Social 10.1.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::getTitleRejectRequest()
- 10.3.x modules/social_features/social_group/modules/social_group_request/src/Controller/GroupRequestController.php \Drupal\social_group_request\Controller\GroupRequestController::getTitleRejectRequest()
- 10.0.x modules/social_features/social_group/modules/social_group_request/src/Controller/GroupRequestController.php \Drupal\social_group_request\Controller\GroupRequestController::getTitleRejectRequest()
- 10.2.x modules/social_features/social_group/modules/social_group_request/src/Controller/GroupRequestController.php \Drupal\social_group_request\Controller\GroupRequestController::getTitleRejectRequest()
Return the title for reject request confirmation page.
File
- modules/
social_features/ social_group/ modules/ social_group_request/ src/ Controller/ GroupRequestController.php, line 97
Class
- GroupRequestController
- Returns responses for Group request routes.
Namespace
Drupal\social_group_request\ControllerCode
public function getTitleRejectRequest(GroupInterface $group, GroupContentInterface $group_content) {
return $this
->t('Reject membership request for the group @group_title', [
'@group_title' => $group
->label(),
]);
}