function mobile_detect_import_help in Mobile Switch 7.2
Implements hook_help().
File
- modules/
mobile_detect_import/ mobile_detect_import.module, line 57 - Update and import functions for the Mobile Detect PHP class.
Code
function mobile_detect_import_help($path, $arg) {
switch ($path) {
case 'admin/config/user-interface/mobile-switch/mobile-detect-import':
return '<p>' . t('Mobile Detect - The lightweight PHP class for detecting mobile devices.') . '</p>';
case 'admin/help#mobile_detect_import':
return check_markup(file_get_contents(dirname(__FILE__) . '/README.txt'));
}
}