How to declare one custom module's dependency on another custom module I'm developing a set of site-specific custom modules, and one of them depends on the other one being enabled.

I'd like to declare this dependency in the .info.yml file, but the docs only show how to declare dependencies on contrib projects:


  Dependencies should be namespaced in the format {project}:{module}, where {project} is the project name as it appears in the Drupal.org URL (e.g. drupal.org/project/views) and {module} is the module's machine name.


How do I declare a dependency on a module that is only found in the local codebase?
Try this just like contrib projects.

dependencies:
  - your_module_name