You are here

public function MeetingController::membersAutocomplete in Opigno Moxtra 3.x

Same name and namespace in other branches
  1. 8 src/Controller/MeetingController.php \Drupal\opigno_moxtra\Controller\MeetingController::membersAutocomplete()

Returns response for the autocompletion.

Return value

\Symfony\Component\HttpFoundation\JsonResponse

1 string reference to 'MeetingController::membersAutocomplete'
opigno_moxtra.routing.yml in ./opigno_moxtra.routing.yml
opigno_moxtra.routing.yml

File

src/Controller/MeetingController.php, line 424

Class

MeetingController
Class MeetingController.

Namespace

Drupal\opigno_moxtra\Controller

Code

public function membersAutocomplete(Group $group) {
  [
    $matches,
    $default,
  ] = $this
    ->membersAutocompleteSelect($group);
  return new JsonResponse($matches);
}