You are here

action_example.info in Examples for Developers 7

name = Action example
description = Demonstrates providing actions that can be associated to triggers.
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 core module rather
; than a project. We do this by namespacing the dependency name with drupal:.
dependencies[] = drupal:trigger
; 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[] = action_example.test

File

action_example/action_example.info
View source
  1. name = Action example
  2. description = Demonstrates providing actions that can be associated to triggers.
  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 core module rather
  7. ; than a project. We do this by namespacing the dependency name with drupal:.
  8. dependencies[] = drupal:trigger
  9. ; Since the namespacing feature is new as of Drupal 7.40, we have to require at
  10. ; least that version of core.
  11. dependencies[] = drupal:system (>= 7.40)
  12. files[] = action_example.test