function test_legacy_theme_theme_test_function_suggestions__module_override

Same name and namespace in other branches
  1. 8.9.x core/modules/system/tests/themes/test_legacy_theme/test_legacy_theme.theme \test_legacy_theme_theme_test_function_suggestions__module_override()

Returns HTML for a theme function suggestion test.

Implements the theme_test_function_suggestions__module_override suggestion.

File

core/modules/system/tests/themes/test_legacy_theme/test_legacy_theme.theme, line 42

Code

function test_legacy_theme_theme_test_function_suggestions__module_override($variables) {
    return 'Theme function overridden based on new theme suggestion provided by a module.';
}

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