There are some standard PHP files that are needed to create a Drupal module.
On Drupal 7, these are:
[modulename].info
[modulename].module
On Drupal 8, you only need:
[modulename].info.yml
It would be helpful if these could be automatically generated in the GitHub action for creating a release, since they are not really necessary to have in source control otherwise.
The only reason you might want them in source control is if you are implementing Drupal hooks in [modulename].module. So perhaps we auto-generate these ONLY IF they do not already exist. This would allow devs to provide them if they want to.
There are some standard PHP files that are needed to create a Drupal module.
On Drupal 7, these are:
[modulename].info
[modulename].module
On Drupal 8, you only need:
[modulename].info.yml
It would be helpful if these could be automatically generated in the GitHub action for creating a release, since they are not really necessary to have in source control otherwise.
The only reason you might want them in source control is if you are implementing Drupal hooks in
[modulename].module
. So perhaps we auto-generate these ONLY IF they do not already exist. This would allow devs to provide them if they want to.