hook_page_top(array &$page_top)
Add a renderable array to the top of the page.
array $page_top: A renderable array representing the top of the page.
function hook_page_top(array &$page_top) { $page_top['mymodule'] = ['#markup' => 'This is the top.']; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Render!theme.api.php/function/hook_page_top/8.1.x