diff options
Diffstat (limited to 'modules/toolbar/toolbar.module')
-rw-r--r-- | modules/toolbar/toolbar.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/toolbar/toolbar.module b/modules/toolbar/toolbar.module index e650d8b15..b17107c4c 100644 --- a/modules/toolbar/toolbar.module +++ b/modules/toolbar/toolbar.module @@ -31,11 +31,11 @@ function toolbar_theme($existing, $type, $theme, $path) { } /** - * Implement hook_page_alter(). + * Implement hook_page_build(). * * Add admin toolbar to the page_top region automatically. */ -function toolbar_page_alter(&$page) { +function toolbar_page_build(&$page) { if (user_access('access toolbar')) { $page['page_top']['toolbar'] = toolbar_build(); } |