You are here

function context_mobile_detect_settings in Context Mobile Detect 7

Same name and namespace in other branches
  1. 7.2 context_mobile_detect.admin.inc \context_mobile_detect_settings()
1 string reference to 'context_mobile_detect_settings'
context_mobile_detect_menu in ./context_mobile_detect.module
Implements hook_menu().

File

./context_mobile_detect.admin.inc, line 3

Code

function context_mobile_detect_settings() {
  $form['cmd_mobile_detect_library_path'] = array(
    '#type' => 'textfield',
    '#title' => t('Library Path'),
    '#description' => t('Context Mobile Detect runs on a very early steps thats why it\'s necessary to specify path to Mobile Detect library. By default it\'s @path.', array(
      '@path' => MOBILE_DETECT_LIBRARY_PATH,
    )),
    '#default_value' => variable_get('cmd_mobile_detect_library_path', MOBILE_DETECT_LIBRARY_PATH),
  );
  return system_settings_form($form);
}