summaryrefslogtreecommitdiff
path: root/includes/module.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-07-10 04:58:08 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-07-10 04:58:08 +0000
commitb7c27c32466c380f78df3f4feb0285371e9f9fd0 (patch)
tree0fe5f332de07282e6577661ad14639da2aad3a1b /includes/module.inc
parentf8790b17b3fe09d6039278c560d7b2ffd717619d (diff)
downloadbrdo-b7c27c32466c380f78df3f4feb0285371e9f9fd0.tar.gz
brdo-b7c27c32466c380f78df3f4feb0285371e9f9fd0.tar.bz2
#485350 follow-up by Dave Reid: Fix code example for module_load_include().
Diffstat (limited to 'includes/module.inc')
-rw-r--r--includes/module.inc9
1 files changed, 6 insertions, 3 deletions
diff --git a/includes/module.inc b/includes/module.inc
index 3b79eee00..4b506a0d3 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -141,12 +141,15 @@ function module_load_install($module) {
*
* Examples:
* @code
- * // Load node.admin.inc from the node module
+ * // Load node.admin.inc from the node module.
* module_load_include('inc', 'node', 'node.admin');
- * // Load node.install from the node module
- * module_load_include('install', 'node');
+ * // Load content_types.inc from the node module.
+ * module_load_include('inc', 'node', 'content_types');
* @endcode
*
+ * Do not use this function to load an install file. Use module_load_install()
+ * instead.
+ *
* @param $type
* The include file's type (file extension).
* @param $module