function getdirections_get_current_supported_module in Get Directions 7.3
Same name and namespace in other branches
- 7.2 getdirections.module \getdirections_get_current_supported_module()
14 calls to getdirections_get_current_supported_module()
- getdirections_access_location in ./
getdirections.module - menu access functions
- getdirections_check_entity_type in ./
getdirections.module - Check that an entity type is location enabled.
- getdirections_fields_field_formatter_view in modules/
getdirections_fields/ getdirections_fields.module - Implements hook_field_formatter_view(). Build a renderable array for a field value.
- getdirections_fields_field_widget_form in modules/
getdirections_fields/ getdirections_fields.module - Implements hook_field_widget_form(). Return the form for a single field widget.
- getdirections_load_locations in ./
getdirections.module - Load one or more locations
File
- ./
getdirections.module, line 2039 - Fetches google map directions.
Code
function getdirections_get_current_supported_module() {
$modules = getdirections_supported_modules();
foreach ($modules as $module) {
if (module_exists($module)) {
return $module;
}
}
return FALSE;
}