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
1 2 3 | function hook_page_bottom( array & $page_bottom ) { $page_bottom [ 'mymodule' ] = [ '#markup' => 'This is the bottom.' ]; } |
Please login to continue.