Commit b7c27c32 authored by webchick's avatar webchick

#485350 follow-up by Dave Reid: Fix code example for module_load_include().

parent f8790b17
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment