You are here

function user_activeedit_autocompletes in Javascript Tools 5

File

activeedit/modules/user.inc, line 3

Code

function user_activeedit_autocompletes() {
  $autocompletes = array();
  $autocompletes['user'] = array(
    '#title' => t('users'),
    '#marker' => 'user/autocomplete',
    '#submit_text' => t('Create new account'),
    '#access' => user_access('administer users'),
    '#target' => 'admin/user/user/create',
    '#form' => array(
      'user_register' => array(),
    ),
    '#transfer_element' => 'name',
  );
  return $autocompletes;
}