protected function tearDown(): void
{ parent::
tearDown();
static::
$functions =
[];
} /**
* Tests getting the theme registry defined by a module.
*/
public function testGetRegistryForModule() { $test_theme =
new ActiveTheme([ 'name' => 'test_theme',
'path' => 'core/modules/system/tests/themes/test_theme/test_theme.info.yml',
'engine' => 'twig',
'owner' => 'twig',
'libraries_override' =>
[],
'libraries_extend' =>
[],
'libraries' =>
[],
'extension' => '.twig',
'base_theme_extensions' =>
[],
]);