You are here

function custom_search_blocks_admin in Custom Search 7

Same name and namespace in other branches
  1. 6 modules/custom_search_blocks/custom_search_blocks.admin.inc \custom_search_blocks_admin()
1 string reference to 'custom_search_blocks_admin'
custom_search_blocks_menu in modules/custom_search_blocks/custom_search_blocks.module
Implements hook_menu().

File

modules/custom_search_blocks/custom_search_blocks.admin.inc, line 20
Admin settings for custom search

Code

function custom_search_blocks_admin() {
  $form['custom_search_blocks_number'] = array(
    '#type' => 'textfield',
    '#title' => t('Number of blocks'),
    '#size' => 2,
    '#default_value' => variable_get('custom_search_blocks_number', 1),
  );
  return system_settings_form($form);
}