protected function ExtensionDiscoveryTest::generateModule in Composer Manager 8
Returns the file structure for a module.
1 call to ExtensionDiscoveryTest::generateModule()
- ExtensionDiscoveryTest::setUp in tests/
src/ Unit/ ExtensionDiscoveryTest.php
File
- tests/
src/ Unit/ ExtensionDiscoveryTest.php, line 104
Class
- ExtensionDiscoveryTest
- @coversDefaultClass \Drupal\composer_manager\ExtensionDiscovery @group composer_manager
Namespace
Drupal\Tests\composer_manager\UnitCode
protected function generateModule($name) {
return [
$name . '.module' => '<?php',
$name . '.info.yml' => 'type: module',
];
}