function ThemeTestHooks::pageBottom

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php \Drupal\theme_test\Hook\ThemeTestHooks::pageBottom()

Implements hook_page_bottom().

Attributes

#[Hook('page_bottom')]

File

core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php, line 230

Class

ThemeTestHooks
Hook implementations for theme_test.

Namespace

Drupal\theme_test\Hook

Code

public function pageBottom(array &$page_bottom) : void {
  $page_bottom['theme_test_page_bottom'] = [
    '#markup' => 'theme test page bottom markup',
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.