function messaging_twitter_admin_form in Messaging 6.2
Same name and namespace in other branches
- 6.4 messaging_twitter/messaging_twitter.module \messaging_twitter_admin_form()
- 6 messaging_twitter/messaging_twitter.module \messaging_twitter_admin_form()
- 6.3 messaging_twitter/messaging_twitter.module \messaging_twitter_admin_form()
Admin settings form
1 string reference to 'messaging_twitter_admin_form'
- messaging_twitter_admin in messaging_twitter/
messaging_twitter.module - Admin settings
File
- messaging_twitter/
messaging_twitter.module, line 136 - Messaging Twitter sending method
Code
function messaging_twitter_admin_form() {
$form = array();
$form['messaging_twitter_username'] = array(
'#type' => 'textfield',
'#title' => t('Username'),
'#default_value' => variable_get('messaging_twitter_username', ''),
'#size' => 40,
'#maxlength' => 255,
'#required' => TRUE,
);
$form['messaging_twitter_password'] = array(
'#type' => 'password',
'#title' => t('Password'),
'#default_value' => variable_get('messaging_twitter_password', ''),
'#size' => 30,
'#maxlength' => 64,
'#required' => TRUE,
);
return system_settings_form($form);
}