function custom_search_blocks_admin in Custom Search 6
Same name and namespace in other branches
- 7 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 - Implementation of 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);
}