function advanced_help_search_form

cis7 advanced_help.module advanced_help_search_form($form, &$form_state, $keys = '')
cle7 advanced_help.module advanced_help_search_form($form, &$form_state, $keys = '')
elmsmedia7 advanced_help.module advanced_help_search_form($form, &$form_state, $keys = '')
icor7 advanced_help.module advanced_help_search_form($form, &$form_state, $keys = '')
meedjum_blog7 advanced_help.module advanced_help_search_form($form, &$form_state, $keys = '')
mooc7 advanced_help.module advanced_help_search_form($form, &$form_state, $keys = '')

Form builder callback to build the search form.

Load search/search.pages so that its template preprocess functions are visible and can be invoked.

2 string references to 'advanced_help_search_form'
advanced_help_index_page in sites/all/modules/ulmus/advanced_help/advanced_help.module
Page callback to view the advanced help topic index.
advanced_help_search_view in sites/all/modules/ulmus/advanced_help/advanced_help.module
Page callback for advanced help search.

File

sites/all/modules/ulmus/advanced_help/advanced_help.module, line 342
Pluggable system to provide advanced help facilities for Drupal and modules.

Code

function advanced_help_search_form($form, &$form_state, $keys = '') {
  module_load_include('inc', 'search', 'search.pages');
  $form = search_form($form, $form_state, advanced_help_url('admin/advanced_help'), $keys, 'advanced_help', t('Search help'));

  $form['basic']['inline']['submit']['#validate'] = array('search_form_validate');
  $form['basic']['inline']['submit']['#submit'] = array('advanced_help_search_form_submit');

  return $form;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.