You are here

function search404_get_default_search in Search 404 7

Return the default search information.

Return value

array Returns an array with two items: the result of search_get_default_module_info() and the default search module.

1 call to search404_get_default_search()
search404_block_view in ./search404.module
Implements hook_block_view().

File

./search404.module, line 94
Handles all the searching when a 404 occurs.

Code

function search404_get_default_search() {
  $default_search = search_get_default_module_info();
  $type_search = $default_search['module'];
  return array(
    $default_search,
    $type_search,
  );
}