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.'];
}
doc_Drupal
2016-10-29 09:18:25
Comments
Leave a Comment

Please login to continue.