1 search_embedded_form.module search_embedded_form_menu()

Implements hook_menu().

File

core/modules/search/tests/search_embedded_form/search_embedded_form.module, line 15
Test module implementing a form that can be embedded in search results.

Code

function search_embedded_form_menu() {
  $items['search_embedded_form'] = array(
    'title' => 'Search_Embed_Form',
    'page callback' => 'backdrop_get_form',
    'page arguments' => array('search_embedded_form_form'),
    'access arguments' => array('search content'),
    'type' => MENU_CALLBACK,
  );

  return $items;
}