function search_block_info

7.x search.module search_block_info()

Implements hook_block_info().

File

drupal/modules/search/search.module, line 141
Enables site-wide keyword searching.

Code

function search_block_info() {
  $blocks['form']['info'] = t('Search form');
  // Not worth caching.
  $blocks['form']['cache'] = DRUPAL_NO_CACHE;
  $blocks['form']['properties']['administrative'] = TRUE;
  return $blocks;
}