function hook_page_bottom
hook_page_bottom(array &$page_bottom)
Add a renderable array to the bottom of the page.
Parameters
array $page_bottom: A renderable array representing the bottom of the page.
Related topics
- Hooks
- Define functions that alter the behavior of Drupal core.
File
- core/lib/Drupal/Core/Render/theme.api.php, line 1064
- Hooks and documentation related to the theme and render system.
Code
function hook_page_bottom(array &$page_bottom) { $page_bottom['mymodule'] = ['#markup' => 'This is the bottom.']; }
© 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_bottom/8.1.x