summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-11-08 09:31:10 +0000
committerDries Buytaert <dries@buytaert.net>2009-11-08 09:31:10 +0000
commit370d07e9f75bf5ebdd6ac87de0f0b956d3f8dabd (patch)
treef6a7f6c2d8abb85cbd73d76b5d74a7163d3447f6
parent7080b8f35dff7695d86a28ff68c3eeb9fa0373a1 (diff)
downloadbrdo-370d07e9f75bf5ebdd6ac87de0f0b956d3f8dabd.tar.gz
brdo-370d07e9f75bf5ebdd6ac87de0f0b956d3f8dabd.tar.bz2
- Patch #624882 by jhodgdon: fixed typos in hooks section page.
-rw-r--r--includes/module.inc18
1 files changed, 9 insertions, 9 deletions
diff --git a/includes/module.inc b/includes/module.inc
index f22b30b54..541d94a33 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -352,19 +352,19 @@ function module_disable($module_list) {
* Allow modules to interact with the Drupal core.
*
* Drupal's module system is based on the concept of "hooks". A hook is a PHP
- * function that is named foo_bar(), where "foo" is the name of the module (whose
- * filename is thus foo.module) and "bar" is the name of the hook. Each hook has
- * a defined set of parameters and a specified result type.
+ * function that is named foo_bar(), where "foo" is the name of the module
+ * (whose filename is thus foo.module) and "bar" is the name of the hook. Each
+ * hook has a defined set of parameters and a specified result type.
*
- * To extend Drupal, a module need simply implement a hook. When Drupal wishes to
- * allow intervention from modules, it determines which modules implement a hook
- * and call that hook in all enabled modules that implement it.
+ * To extend Drupal, a module need simply implement a hook. When Drupal wishes
+ * to allow intervention from modules, it determines which modules implement a
+ * hook and calls that hook in all enabled modules that implement it.
*
* The available hooks to implement are explained here in the Hooks section of
* the developer documentation. The string "hook" is used as a placeholder for
- * the module name is the hook definitions. For example, if the module file is
- * called example.module, then hook_help() as implemented by that module would be
- * defined as example_help().
+ * the module name in the hook definitions. For example, if the module file is
+ * called example.module, then hook_help() as implemented by that module would
+ * be defined as example_help().
*/
/**