diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-01-30 07:59:26 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-01-30 07:59:26 +0000 |
commit | ea51c3215bc3defc45e87619f7b2232f85895fef (patch) | |
tree | dcef9202a1fec6385914c4ee48b13e80c25f3ce2 /modules/menu | |
parent | 1e8da1f9ae32ccd1c6d19e24215e1cb293e97bbf (diff) | |
download | brdo-ea51c3215bc3defc45e87619f7b2232f85895fef.tar.gz brdo-ea51c3215bc3defc45e87619f7b2232f85895fef.tar.bz2 |
- Patch #606526 by axyjo, scor: remove trailing whitespaces and add newlines at end of files.
Diffstat (limited to 'modules/menu')
-rw-r--r-- | modules/menu/menu.admin.inc | 2 | ||||
-rw-r--r-- | modules/menu/menu.api.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/menu/menu.admin.inc b/modules/menu/menu.admin.inc index aaedc5ac4..1efa9db7f 100644 --- a/modules/menu/menu.admin.inc +++ b/modules/menu/menu.admin.inc @@ -63,7 +63,7 @@ function menu_overview_form($form, &$form_state, $menu) { $form = array_merge($form, _menu_overview_tree_form($tree)); $form['#menu'] = $menu; - + if (element_children($form)) { $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions'))); $form['actions']['submit'] = array( diff --git a/modules/menu/menu.api.php b/modules/menu/menu.api.php index b8f4335e2..3bd182240 100644 --- a/modules/menu/menu.api.php +++ b/modules/menu/menu.api.php @@ -165,7 +165,7 @@ * instead. * - "page arguments": An array of arguments to pass to the page callback * function, with path component substitution as described above. - * - "delivery callback": The function to call to package the result of the + * - "delivery callback": The function to call to package the result of the * page callback function and send it to the browser. Defaults to * drupal_deliver_html_page() unless a value is inherited from a parent menu * item. @@ -192,7 +192,7 @@ * - "file path": The path to the directory containing the file specified in * "file". This defaults to the path to the module implementing the hook. * - "load arguments": An array of arguments to be passed to each of the - * wildcard object loaders in the path, after the path argument itself. + * wildcard object loaders in the path, after the path argument itself. * For example, if a module registers path node/%node/revisions/%/view * with load arguments set to array(3), the '%node' in the path indicates * that the loader function node_load() will be called with the second |