You are here

function search_block_info in Drupal 7

Implements hook_block_info().

File

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;
}