summaryrefslogtreecommitdiff
path: root/modules/menu/menu.api.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-12-20 18:24:41 +0000
committerDries Buytaert <dries@buytaert.net>2008-12-20 18:24:41 +0000
commit0c63d9e24fcaef1f3cb09823d5765e7fb48bc89e (patch)
tree17978ad881e137708ceed1f29b170360df014155 /modules/menu/menu.api.php
parentee700371aca60269b9c752d1e143cae64d18a745 (diff)
downloadbrdo-0c63d9e24fcaef1f3cb09823d5765e7fb48bc89e.tar.gz
brdo-0c63d9e24fcaef1f3cb09823d5765e7fb48bc89e.tar.bz2
- Patch #349504 by keith.smith: clean up sentence spacing in code comments.
Diffstat (limited to 'modules/menu/menu.api.php')
-rw-r--r--modules/menu/menu.api.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/menu/menu.api.php b/modules/menu/menu.api.php
index 7c1543a6d..c69eaa79d 100644
--- a/modules/menu/menu.api.php
+++ b/modules/menu/menu.api.php
@@ -32,7 +32,7 @@
* visits the path. If omitted, the parent menu item's callback will be used
* instead.
* - "page arguments": An array of arguments to pass to the page callback
- * function. Integer values pass the corresponding URL component (see arg()).
+ * function. Integer values pass the corresponding URL component (see arg()).
* - "access callback": A function returning a boolean value that determines
* whether the user has access rights to this menu item. Defaults to
* user_access() unless a value is inherited from a parent menu item..
@@ -85,8 +85,8 @@ function hook_menu() {
* Alter the data being saved to the {menu_router} table after hook_menu is invoked.
*
* This hook is invoked by menu_router_build(). The menu definitions are passed
- * in by reference. Each element of the $callbacks array is one item returned
- * by a module from hook_menu. Additional items may be added, or existing items
+ * in by reference. Each element of the $callbacks array is one item returned
+ * by a module from hook_menu. Additional items may be added, or existing items
* altered.
*
* @param $callbacks
@@ -125,7 +125,7 @@ function hook_menu_link_alter(&$item, $menu) {
*
* This hook may be used, for example, to add a page-specific query string.
* For performance reasons, only links that have $item['options']['alter'] == TRUE
- * will be passed into this hook. The $item['options']['alter'] flag should
+ * will be passed into this hook. The $item['options']['alter'] flag should
* generally be set using hook_menu_link_alter().
*
* @param $item