function barcode_settings in Barcode 7.2
Same name and namespace in other branches
- 6.2 includes/barcode.admin.inc \barcode_settings()
- 6 barcode.module \barcode_settings()
Menu callback to configure barcode module settings.
1 string reference to 'barcode_settings'
- barcode_menu in ./
barcode.module - Implements hook_menu().
File
- includes/
barcode.admin.inc, line 11 - Code for the issue status admin configuration form.
Code
function barcode_settings() {
$barcode = barcode_get_settings();
$form['barcode_default_path'] = array(
'#title' => t('Default path'),
'#description' => t('A file system URI where the barcode images will be stored. Changing this location will cause that barcodes will be generated again upon view.'),
'#type' => 'textfield',
'#default_value' => $barcode['default_path'],
'#size' => 60,
'#required' => TRUE,
);
$form['barcode_font'] = array(
'#title' => t('Font file'),
'#description' => t("The font used in barcode, must be relative path to Drupal's base."),
'#type' => 'textfield',
'#default_value' => $barcode['font'],
'#size' => 100,
'#required' => TRUE,
);
return system_settings_form($form);
}