function _suggestion_admin_get_autocomplete in Autocomplete Search Suggestions 7
Build an autocomplete form ID to field name hash.
Return value
string A colon delimited list of form_id to field name.
1 call to _suggestion_admin_get_autocomplete()
- suggestion_admin_settings_form in ./
suggestion.admin.inc - Menu callback to configure suggestion settings.
File
- ./
suggestion.admin.inc, line 443 - Administration form for suggestion module.
Code
function _suggestion_admin_get_autocomplete() {
$txt = '';
foreach ((array) variable_get('suggestion_autocomplete', array()) as $key => $val) {
$txt .= "{$key}:{$val}\n";
}
return $txt;
}