function barcode_get_settings in Barcode 7.2
Same name and namespace in other branches
- 6.2 barcode.module \barcode_get_settings()
Returns the barcode settings.
4 calls to barcode_get_settings()
- barcode_field_instance_settings_form in ./
barcode.module - Implements hook_field_instance_settings_form().
- barcode_requirements in ./
barcode.install - Implements hook_requirements().
- barcode_settings in includes/
barcode.admin.inc - Menu callback to configure barcode module settings.
- theme_barcode_image in ./
barcode.module - Theme function for the barcode image.
File
- ./
barcode.module, line 442
Code
function barcode_get_settings() {
return array(
'default_path' => variable_get('barcode_default_path', 'public://barcodes'),
'font' => variable_get('barcode_font', drupal_get_path('module', 'barcode') . "/fonts/DroidSans.ttf"),
'encoding' => variable_get('barcode_encoding', 'EAN-13'),
'height' => 40,
'scale' => 2.0,
'bgcolor' => '#FFFFFF',
'barcolor' => '#000000',
'image_format' => 'png',
);
}