You are here

public function ThemeTestController::preprocessCallback in Drupal 10

Controller for testing callable preprocess functions.

1 string reference to 'ThemeTestController::preprocessCallback'
theme_test.routing.yml in core/modules/system/tests/modules/theme_test/theme_test.routing.yml
core/modules/system/tests/modules/theme_test/theme_test.routing.yml

File

core/modules/system/tests/modules/theme_test/src/ThemeTestController.php, line 138

Class

ThemeTestController
Controller routines for theme test routes.

Namespace

Drupal\theme_test

Code

public function preprocessCallback() {
  return [
    '#theme' => 'theme_test_preprocess_callback',
  ];
}