You are here

function mobile_codes_defaults in Mobile Codes 7.2

Mobile codes settings.

6 calls to mobile_codes_defaults()
mobile_codes_flush_caches in ./mobile_codes.module
Implements hook_flush_caches().
mobile_codes_generate in ./mobile_codes.module
Cache a Mobile Code.
mobile_codes_process_data in ./mobile_codes.module
Process the data provided to a Mobile Code.
mobile_codes_settings_form in ./mobile_codes.admin.inc
Settings form callback.
mobile_codes_update_7201 in ./mobile_codes.install
Set default value for 'Storage directory'.

... See full list

File

./mobile_codes.module, line 121
Mobile Codes core functions.

Code

function mobile_codes_defaults() {
  return variable_get('mobile_codes_settings', array(
    'url' => array(
      'alias' => 'alias',
    ),
    'general' => array(
      'flush' => TRUE,
      'path' => 'public://mobile_codes',
    ),
  ));
}