Issue #2382801 by er.pushpinderrana, Liam Morland: Improve documentation for module_exists()

merge-requests/26/head
Jennifer Hodgdon 2014-12-02 08:54:41 -08:00
parent d84d4ce4d8
commit a6c50f0526
1 changed files with 3 additions and 3 deletions

View File

@ -265,11 +265,11 @@ function _module_build_dependencies($files) {
/**
* Determines whether a given module exists.
*
* @param $module
* @param string $module
* The name of the module (without the .module extension).
*
* @return
* TRUE if the module is both installed and enabled.
* @return bool
* TRUE if the module is both installed and enabled, FALSE otherwise.
*/
function module_exists($module) {
$list = module_list();