function theme_theme_test_function_suggestions

Same name in other branches
  1. 9 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

Code

function theme_theme_test_function_suggestions($variables) {
    return 'Original theme function.';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.