function search_block_info

Implements hook_block_info().

File

modules/search/search.module, line 141

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.