summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2014-12-02 08:54:41 -0800
committerJennifer Hodgdon <yahgrp@poplarware.com>2014-12-02 08:54:41 -0800
commita6c50f0526eac3cee71f48059e5ed569dac8a055 (patch)
tree6ada1de095bc66ba4e393dd4d842946d81040008 /includes
parentd84d4ce4d85ed2fd84951c8fd2a0dfe9c5df3bba (diff)
downloadbrdo-a6c50f0526eac3cee71f48059e5ed569dac8a055.tar.gz
brdo-a6c50f0526eac3cee71f48059e5ed569dac8a055.tar.bz2
Issue #2382801 by er.pushpinderrana, Liam Morland: Improve documentation for module_exists()
Diffstat (limited to 'includes')
-rw-r--r--includes/module.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/module.inc b/includes/module.inc
index fe2a9805e..494924f53 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -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();