You are here

public function AutocompleteController::autocomplete in Terms of Use 8

1 string reference to 'AutocompleteController::autocomplete'
terms_of_use.routing.yml in ./terms_of_use.routing.yml
terms_of_use.routing.yml

File

src/AutocompleteController.php, line 16
Contains \Drupal\terms_of_use\AutocompleteController.

Class

AutocompleteController

Namespace

Drupal\terms_of_use

Code

public function autocomplete() {

  // This is a response test
  return new JsonResponse(array(
    'key' => 'value',
  ));
}