Implements hook_page_build().
Add admin toolbar to the page_top region automatically.
function toolbar_page_build(&$page) { $page['page_top']['toolbar'] = array( '#type' => 'toolbar', '#access' => user_access('access toolbar'), ); }