['vfs://drupal_root/test_module.tokens.inc']]; /** * @return array[] * An array of module filenames mapped to their virtual file system paths. */ public static function setupGroupIncludes(): array { vfsStream::setup('drupal_root'); file_put_contents('vfs://drupal_root/test_module_info.yml', ''); $module_filenames = [ 'test_module' => ['pathname' => 'vfs://drupal_root/test_module_info.yml'], ]; file_put_contents('vfs://drupal_root/test_module.module', <<<'EOD' 'tokens', ]; return $hooks; } EOD ); file_put_contents('vfs://drupal_root/test_module.tokens.inc', <<<'EOD'