diff --git a/includes/module.inc b/includes/module.inc index ce8470962204923e0c007f2c8fb61fe19da21510..3b79eee00e2e96f24240ca6958a64a7391fe3741 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -138,13 +138,22 @@ function module_load_install($module) { /** * Load a module include file. + * + * Examples: + * @code + * // 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'); + * @endcode * * @param $type * The include file's type (file extension). * @param $module * The module to which the include file belongs. * @param $name - * Optionally, specify the file name. If not set, the module's name is used. + * Optionally, specify the base file name (without the $type extension). + * If not set, $module is used. */ function module_load_include($type, $module, $name = NULL) { if (empty($name)) {