You are here

function ThemeTestController::specificSuggestionAlter in Zircon Profile 8.0

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

Menu callback for testing suggestion alter hooks with specific suggestions.

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

Class

ThemeTestController
Controller routines for theme test routes.

Namespace

Drupal\theme_test

Code

function specificSuggestionAlter() {
  return array(
    '#theme' => 'theme_test_specific_suggestions__variant',
  );
}