token_example.info

name = Token example
description = An example module showing how to define and use tokens.
package = Example modules
core = 7.x
; Since someone might install our module through Composer, we want to be sure
; that the Drupal Composer facade knows we're specifying a contrib module.
; We do this by namespacing the dependency name with project name in format:
; dependencies[] = {project}:{module}
dependencies[] = token:token
; Since the namespacing feature is new as of Drupal 7.40, we have to require at
; least that version of core.
dependencies[] = drupal:system (>= 7.40)
files[] = token_example.test

File

token_example/token_example.info

View source
  1. name = Token example
  2. description = An example module showing how to define and use tokens.
  3. package = Example modules
  4. core = 7.x
  5. ; Since someone might install our module through Composer, we want to be sure
  6. ; that the Drupal Composer facade knows we're specifying a contrib module.
  7. ; We do this by namespacing the dependency name with project name in format:
  8. ; dependencies[] = {project}:{module}
  9. dependencies[] = token:token
  10. ; Since the namespacing feature is new as of Drupal 7.40, we have to require at
  11. ; least that version of core.
  12. dependencies[] = drupal:system (>= 7.40)
  13. files[] = token_example.test