function messaging_devel_form_alter in Messaging 7
Implementation of hook_form_alter()
File
- messaging_devel/
messaging_devel.module, line 83 - Simple messaging using html page. Messaging method plug-in
Code
function messaging_devel_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'messaging_admin_settings') {
$form['messaging_debug'] = array(
'#title' => t('Debug mode'),
'#type' => 'radios',
'#options' => array(
t('Disabled'),
t('Enabled'),
),
'#default_value' => variable_get('messaging_debug', 0),
'#description' => t('If enabled, messages wont be sent out but logged to watchdog, and displayed in the page footer.'),
);
}
}