search_block_info

  1. drupal
    1. 8
    2. 7
Versions
8 – 7 search_block_info()

Implements hook_block_info().

Code

modules/search/search.module, line 141

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