You are here

function search_embedded_form_menu in Drupal 7

Implements hook_menu().

File

modules/search/tests/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' => 'drupal_get_form',
    'page arguments' => array(
      'search_embedded_form_form',
    ),
    'access arguments' => array(
      'search content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}