From a244b45cfbbb22d9087ff0accf83d30e2050a618 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 31 Aug 2009 16:46:32 +0000 Subject: #558958 by Frando and moshe weitzman: Add a hook_page_build() that runs before hook_page_alter(). --- modules/toolbar/toolbar.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/toolbar') 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(); } -- cgit v1.2.3