public function ILTController::membersAutocomplete in Opigno Instructor-led Trainings 3.x
Same name and namespace in other branches
- 8 src/Controller/ILTController.php \Drupal\opigno_ilt\Controller\ILTController::membersAutocomplete()
Returns response for the autocompletion.
Return value
\Symfony\Component\HttpFoundation\JsonResponse
1 string reference to 'ILTController::membersAutocomplete'
File
- src/
Controller/ ILTController.php, line 91
Class
- ILTController
- Class ILTController.
Namespace
Drupal\opigno_ilt\ControllerCode
public function membersAutocomplete(Group $group) {
[
$matches,
$default,
] = $this
->membersAutocompleteSelect($group);
return new JsonResponse($matches);
}