module_exists($module)Determine whether a given module exists.
$module The name of the module (without the .module extension).
TRUE if the module is both installed and enabled.
includes/module.inc, line 221
<?php
function module_exists($module) {
$list = module_list();
return isset($list[$module]);
}
?> | This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License | ![]() |
The current recommended MediaMosa version is 3.2.2. Release notes are available in MediaMosa Trac.
