function mobile_codes_mobile_codes_settings_alter in Mobile Codes 7.2
Same name and namespace in other branches
- 6.2 includes/mobile_codes.inc \mobile_codes_mobile_codes_settings_alter()
Implements hook_mobile_codes_settings_alter().
File
- includes/
mobile_codes.inc, line 10 - Mobile Codes module integration.
Code
function mobile_codes_mobile_codes_settings_alter(&$settings) {
$settings['url']['alias'] = array(
'label' => t('Use path alias'),
'description' => t('Use a path alias if it exists (e.g. node/1 -> section/title)'),
);
$settings['general']['path'] = array(
'label' => t('Storage directory'),
'description' => t('Where the generated Mobile Codes should be stored.'),
'form' => array(
'#type' => 'textfield',
),
);
$settings['general']['flush'] = array(
'label' => t('Delete files on flush cache?'),
'description' => t(''),
);
}