function test_theme_engine_theme

Implements hook_theme().

2 string references to 'test_theme_engine_theme'
ThemeEngineTest::setUp in core/modules/system/tests/src/Kernel/Theme/ThemeEngineTest.php
ThemeEngineTest::testThemeEngineDeprecation in core/modules/system/tests/src/Kernel/Theme/ThemeEngineTest.php
Tests deprecated theme engine .engine files.

File

core/modules/system/tests/engines/test_theme_engine/test_theme_engine.engine, line 13

Code

function test_theme_engine_theme($existing, $type, $theme, $path) : array {
  return drupal_find_theme_templates($existing, '.test.html', $path);
}

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