function delta_blocks_admin_settings in Delta 7.3
@file Admin functions for the Delta blocks module.
1 string reference to 'delta_blocks_admin_settings'
- delta_blocks_menu in delta_blocks/
delta_blocks.module - Implements hook_menu()
File
- delta_blocks/
includes/ delta_blocks.admin.inc, line 7 - Admin functions for the Delta blocks module.
Code
function delta_blocks_admin_settings($form, &$form_state) {
$form['delta_blocks'] = array(
'#type' => 'fieldset',
'#title' => t('Delta blocks configuration'),
);
$form['delta_blocks']['delta_blocks_toggle'] = array(
'#type' => 'checkboxes',
'#title' => t('Toggle Delta blocks'),
'#options' => delta_blocks_options(),
'#default_value' => variable_get('delta_blocks_toggle', array()),
'#description' => t('The selected items will be available as blocks.'),
);
return system_settings_form($form);
}