You are here

function ThemeTestController::suggestionAlterInclude in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/theme_test/src/ThemeTestController.php \Drupal\theme_test\ThemeTestController::suggestionAlterInclude()

Menu callback for testing includes with suggestion alter hooks.

1 string reference to 'ThemeTestController::suggestionAlterInclude'
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 131
Contains \Drupal\theme_test\ThemeTestController.

Class

ThemeTestController
Controller routines for theme test routes.

Namespace

Drupal\theme_test

Code

function suggestionAlterInclude() {
  return array(
    '#theme' => 'theme_test_suggestions_include',
  );
}