diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-29 04:23:53 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-29 04:23:53 +0000 |
commit | 7e1fda54034a1ec5b1b90f564f7819a2fa9a6bcc (patch) | |
tree | 19842fd440db46c938a3394e09da2651d6f34b4e /modules/book | |
parent | 56a3eea5b09aae40d0c41e14626c8b1dc9e9d8fb (diff) | |
download | brdo-7e1fda54034a1ec5b1b90f564f7819a2fa9a6bcc.tar.gz brdo-7e1fda54034a1ec5b1b90f564f7819a2fa9a6bcc.tar.bz2 |
#655508 by David_Rothstein and Dave Reid: Define more node-related pages to hook_admin_paths().
Diffstat (limited to 'modules/book')
-rw-r--r-- | modules/book/book.module | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/book/book.module b/modules/book/book.module index 4361c7eb7..bd3b07dd9 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -213,6 +213,17 @@ function _book_outline_remove_access($node) { } /** + * Implements hook_admin_paths(). + */ +function book_admin_paths() { + $paths = array( + 'node/*/outline' => TRUE, + 'node/*/outline/remove' => TRUE, + ); + return $paths; +} + +/** * Implements hook_init(). */ function book_init() { |