Generate a .module file
This commit is contained in:
parent
55ca3647c4
commit
9418ba4ee7
3 changed files with 25 additions and 1 deletions
src/Command
|
@ -88,7 +88,7 @@ class GenerateDrupal7Command extends Command
|
|||
$createdFiles = [];
|
||||
|
||||
/** @var SplFileInfo $file */
|
||||
foreach ($this->finder->in('fixtures/drupal7_module')->name('/.info/') as $file) {
|
||||
foreach ($this->finder->in('fixtures/drupal7_module')->name('/.[info,module]/') as $file) {
|
||||
$contents = $this->updateFileContents($file->getContents());
|
||||
|
||||
file_put_contents(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue