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/translation | |
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/translation')
-rw-r--r-- | modules/translation/translation.module | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/translation/translation.module b/modules/translation/translation.module index 937f66364..13c65c980 100644 --- a/modules/translation/translation.module +++ b/modules/translation/translation.module @@ -85,6 +85,16 @@ function _translation_tab_access($node) { } /** + * Implements hook_admin_paths(). + */ +function translation_admin_paths() { + $paths = array( + 'node/*/translate' => TRUE, + ); + return $paths; +} + +/** * Implements hook_permission(). */ function translation_permission() { |