Skip to content

Instantly share code, notes, and snippets.

@martsie
Created January 25, 2017 11:17
Show Gist options
  • Save martsie/1465f78a65f2bcf799e2f9621fd4ade5 to your computer and use it in GitHub Desktop.
Save martsie/1465f78a65f2bcf799e2f9621fd4ade5 to your computer and use it in GitHub Desktop.
Sample Drupal 7 module info file
name = My custom module
description = Runs some hooks and PHP code.
package = All of my modules
core = 7.x
; Our module depends on node.
dependencies[] = node
; Our module could include views handlers.
; files[] = my_custom_module.views.inc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment