function drupalgap_path_to_settings_file in DrupalGap 7
Same name and namespace in other branches
- 7.2 drupalgap.module \drupalgap_path_to_settings_file()
2 calls to drupalgap_path_to_settings_file()
- drupalgap_add_module_to_settings_file in ./
drupalgap.module - Given a module name, this will add it to the settings.js file, right after the last module found in the file.
- drupalgap_load_settings_as_string in ./
drupalgap.module - Loads the settings.js file as string.
File
- ./
drupalgap.module, line 571 - A module to provide a bridge between Drupal websites and PhoneGap mobile applications.
Code
function drupalgap_path_to_settings_file() {
return variable_get('drupalgap_sdk_dir', 'mobile-application') . '/app/settings.js';
}