function mobile_tools_get_module_names in Mobile Tools 5
Same name and namespace in other branches
- 6.3 mobile_tools.admin.inc \mobile_tools_get_module_names()
- 6 mobile_tools.admin.inc \mobile_tools_get_module_names()
- 6.2 mobile_tools.admin.inc \mobile_tools_get_module_names()
- 7.2 mobile_tools.admin.inc \mobile_tools_get_module_names()
Helper function to retrieve the name of the module that implements a hook
Parameters
array of module names:
Return value
array of module names keyed by module name
1 call to mobile_tools_get_module_names()
- _mobile_tools_external in ./
mobile_tools.module - Help function that retrieves the modules that implement the hook_is_mobile_device() or hook_is_mobile_site() hooks.
File
- ./
mobile_tools.module, line 658 - Mobile Tools provides a range of functionality assisting in creating a mobile drupal site . this functionality contains:
Code
function mobile_tools_get_module_names($module_names) {
return array_combine($module_names, $module_names);
}