diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-31 16:46:32 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-31 16:46:32 +0000 |
commit | a244b45cfbbb22d9087ff0accf83d30e2050a618 (patch) | |
tree | 31a78270ff18fc21e8869dd9d54544249d8b34c6 /modules/toolbar | |
parent | df78741823ae9fd2d2201b08889b47a4958928c8 (diff) | |
download | brdo-a244b45cfbbb22d9087ff0accf83d30e2050a618.tar.gz brdo-a244b45cfbbb22d9087ff0accf83d30e2050a618.tar.bz2 |
#558958 by Frando and moshe weitzman: Add a hook_page_build() that runs before hook_page_alter().
Diffstat (limited to 'modules/toolbar')
-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(); } |