You are here

function group_autocomplete in Group 7

Retrieves autocomplete suggestions for existing groups.

This function will search for all existing groups the user has view access to, regardless of group type.

Parameters

string $search: The partial title of the group.

1 string reference to 'group_autocomplete'
GroupUIController::hook_menu in classes/group.ui_controller.inc
Provides definitions for implementing hook_menu().

File

pages/group.inc, line 16
Page functions for groups.

Code

function group_autocomplete($search = '') {
  group_autocomplete_by_type(NULL, $search);
}