mpac.pages.inc in Multi-path autocomplete 8
Page callbacks for module mpac.
File
mpac.pages.incView source
<?php
/**
* @file
* Page callbacks for module mpac.
*/
use Symfony\Component\HttpFoundation\JsonResponse;
/**
* Page callback: Outputs JSON for autocomplete suggestions.
*
* @param $type
* The type of data to return.
*/
function mpac_autocomplete($type) {
$matches = array();
return new JsonResponse($matches);
}
Functions
Name![]() |
Description |
---|---|
mpac_autocomplete | Page callback: Outputs JSON for autocomplete suggestions. |