Following the instructions in the documentation for creating a custom module, I created a directory
modules/custom/my_module and put a
my_module.info.yml with some minimal contents like this:
name: 'My Module' description: 'Does some stuff' package: 'Custom' type: module core: 8.x
In that documentation page, directly after the section that describes the
info.yml file, there's a section called "Debugging .info.yml files" and the first item there is "Module is not listed on admin/modules". I'm assuming that means that after I created the
info.yml file in the right place, the module should be listed on admin/modules.
Is that assumption correct, or do I need to get farther along in the process before the module is listed on admin/modules? Is there something I need to run to refresh the list or should Drupal be able to find the module automatically as soon as the
info.yml file exists, even though there's nothing else in it yet?