function ThemeTestController::generalSuggestionAlter
Same name in other branches
- 8.9.x core/modules/system/tests/modules/theme_test/src/ThemeTestController.php \Drupal\theme_test\ThemeTestController::generalSuggestionAlter()
- 10 core/modules/system/tests/modules/theme_test/src/ThemeTestController.php \Drupal\theme_test\ThemeTestController::generalSuggestionAlter()
- 11.x core/modules/system/tests/modules/theme_test/src/ThemeTestController.php \Drupal\theme_test\ThemeTestController::generalSuggestionAlter()
Menu callback for testing hook_theme_suggestions_alter().
1 string reference to 'ThemeTestController::generalSuggestionAlter'
- 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 92
Class
- ThemeTestController
- Controller routines for theme test routes.
Namespace
Drupal\theme_testCode
public function generalSuggestionAlter() {
return [
'#theme' => 'theme_test_general_suggestions',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.