function simplemeta_settings_form in Simple Meta 7
Same name and namespace in other branches
- 7.2 simplemeta.admin.inc \simplemeta_settings_form()
SimpleMeta settings form builder.
1 string reference to 'simplemeta_settings_form'
- simplemeta_menu in ./
simplemeta.module - Implements hook_menu().
File
- ./
simplemeta.admin.inc, line 11 - Administration
Code
function simplemeta_settings_form($form, &$form_state) {
$form['simplemeta_form_enable'] = array(
'#type' => 'checkbox',
'#title' => t('Enable Add Meta Tags Form'),
'#description' => t('If enabled, form will appear on pages'),
'#default_value' => variable_get('simplemeta_form_enable', TRUE),
'#return_value' => TRUE,
);
$form['simplemeta_language_enable'] = array(
'#type' => 'checkbox',
'#title' => t('Enable Language Support'),
'#description' => t('If enabled, language selectbox will appear on the form. Otherwise all created metadata will be language-neutral i.e. global for all languages'),
'#default_value' => variable_get('simplemeta_language_enable', FALSE),
'#return_value' => TRUE,
);
return system_settings_form($form);
}