public function groupMembersTitle($group) {
    // If it's not a group then it's a gid.
    if (!$group instanceof Group) {
      $group = Group::load($group);
    }
    return $this->t('Members of @name', ['@name' => $group->label()]);
  }
public function groupMembersTitle($group) {
    // If it's not a group then it's a gid.
    if (!$group instanceof Group) {
      $group = Group::load($group);
    }
    return $this->t('Members of @name', ['@name' => $group->label()]);
  }
public function groupMembersTitle ( $ group ) { // If it's not a group then it's a gid. if ( ! $ group instanceof Group ) { $ group = Group :: load ( $ group ) ; } return $ this -> t ( 'Members of @name' , [ '@name' => $ group -> label ( ) ] ) ; }
The _title_callback for the view.group_members.page_group_members route.

@param object $group
The group ID.

@return string
The page title.
The _title_callback for the view . group_members . page_group_members route .