function mpac_autocomplete in Multi-path autocomplete 8
Same name and namespace in other branches
- 6 mpac.module \mpac_autocomplete()
- 7 mpac.module \mpac_autocomplete()
Page callback: Outputs JSON for autocomplete suggestions.
Parameters
$type: The type of data to return.
File
- ./
mpac.pages.inc, line 16 - Page callbacks for module mpac.
Code
function mpac_autocomplete($type) {
$matches = array();
return new JsonResponse($matches);
}