function module_enabled
Search API
6.x misc.inc | module_enabled($module_name) |
Simple function that returns TRUE if the module is enabled, FALSE otherwise.
We also will use our existing GLOBALS cache.
61 calls to module_enabled()
- admin_add_degree_form_submit in modules/
admin/ admin.degrees.inc - Submit handler for the add_degree_form.
- admin_add_degree_form_validate in modules/
admin/ admin.degrees.inc - Validate handler for add_degree_form
- admin_advising_settings_form in modules/
admin/ admin.module - This is a systems settings form, which lets the user edit advising variabled for FlightPath.
- admin_copy_degree_form_submit in modules/
admin/ admin.degrees.inc - admin_copy_degree_form_validate in modules/
admin/ admin.degrees.inc - Validate handler. Make sure our allow_overwrite setting is working. Check for existing major code.
File
- includes/
misc.inc, line 2300 - This file contains misc functions for FlightPath
Code
function module_enabled($module_name) {
return (isset($GLOBALS ["fp_system_settings"]["modules"][$module_name]));
}