function certificate_admin_settings_form in Certificate 7.2
Same name and namespace in other branches
- 8.3 certificate.admin.inc \certificate_admin_settings_form()
- 6.2 certificate.admin.inc \certificate_admin_settings_form()
- 6 certificate.admin.inc \certificate_admin_settings_form()
- 7.3 certificate.admin.inc \certificate_admin_settings_form()
- 3.x certificate.admin.inc \certificate_admin_settings_form()
General settings form.
Currently only has the option to enable snapshots.
1 string reference to 'certificate_admin_settings_form'
- certificate_menu in ./
certificate.module - Implements hook_menu().
File
- ./
certificate.admin.inc, line 392 - Administrative pages for Certificate module.
Code
function certificate_admin_settings_form($form, &$form_state) {
$form = array();
$form['certificate_snapshots'] = array(
'#title' => 'Use certificate snapshots?',
'#description' => 'Certificates will only be generated once per node/user.',
'#type' => 'checkbox',
'#default_value' => variable_get('certificate_snapshots', 0),
);
return system_settings_form($form);
}