function theme_theme_test_function_suggestions in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.module \theme_theme_test_function_suggestions()
Returns HTML for a theme function suggestion test.
2 string references to 'theme_theme_test_function_suggestions'
- RegistryLegacyTest::testGetLegacyThemeFunctionRegistryForModule in core/
tests/ Drupal/ Tests/ Core/ Theme/ RegistryLegacyTest.php - Tests getting legacy theme function registry data defined by a module.
- theme_legacy_test_theme in core/
modules/ system/ tests/ modules/ theme_legacy_test/ theme_legacy_test.module - Implements hook_theme().
1 theme call to theme_theme_test_function_suggestions()
- ThemeTestController::functionSuggestionAlter in core/
modules/ system/ tests/ modules/ theme_legacy_test/ src/ ThemeTestController.php - Menu callback for testing suggestion alter hooks with theme functions.
File
- core/
modules/ system/ tests/ modules/ theme_legacy_test/ theme_legacy_test.module, line 84 - Test module for legacy theme functions.
Code
function theme_theme_test_function_suggestions($variables) {
return 'Original theme function.';
}