public function GroupMenuController::groupContentOverviewTitle in Group Menu 8
Provides the group menu overview page title.
Parameters
\Drupal\group\Entity\GroupInterface $group: The group to show the group menu content for.
Return value
string The page title for the group menu overview page.
1 string reference to 'GroupMenuController::groupContentOverviewTitle'
File
- src/
Controller/ GroupMenuController.php, line 82
Class
- GroupMenuController
- Returns responses for 'group_menu' GroupContent routes.
Namespace
Drupal\groupmenu\ControllerCode
public function groupContentOverviewTitle(GroupInterface $group) {
return $this
->t("%label menus", [
'%label' => $group
->label(),
]);
}