public function GroupMembershipController::joinTitle in Group 8
Same name and namespace in other branches
- 2.0.x src/Controller/GroupMembershipController.php \Drupal\group\Controller\GroupMembershipController::joinTitle()
The _title_callback for the join form route.
Parameters
\Drupal\group\Entity\GroupInterface $group: The group to join.
Return value
string The page title.
1 string reference to 'GroupMembershipController::joinTitle'
File
- src/
Controller/ GroupMembershipController.php, line 89
Class
- GroupMembershipController
- Provides group membership route controllers.
Namespace
Drupal\group\ControllerCode
public function joinTitle(GroupInterface $group) {
return $this
->t('Join group %label', [
'%label' => $group
->label(),
]);
}