function mobile_codes_settings_form in Mobile Codes 5
Same name and namespace in other branches
- 6.2 includes/mobile_codes.admin.inc \mobile_codes_settings_form()
- 6 mobile_codes.admin.inc \mobile_codes_settings_form()
- 7.2 mobile_codes.admin.inc \mobile_codes_settings_form()
Mobile Codes settings form.
1 string reference to 'mobile_codes_settings_form'
- mobile_codes_menu in ./
mobile_codes.module - Implementation of hook_menu().
File
- ./
mobile_codes.admin.inc, line 257
Code
function mobile_codes_settings_form() {
$form = array();
$form['flush'] = array(
'#type' => 'checkbox',
'#title' => t('Flush on update') . '.',
'#description' => t('Flush cache mobile codes when their preset is updated') . '.<br />' . '<strong>' . t('Note') . ':</strong>' . t('It is suggested to set this to off if you are using the Mobile Codes filter') . '.',
'#default_value' => variable_get('mobile_codes_flush', 1),
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Submit'),
);
return $form;
}