workflow_vbo.module 634 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * @file
  4. * Provides actions that can be associated to triggers, or used as VBO-action.
  5. *
  6. * N.B. This module's name is incorrect. It is not dependent on VBO.
  7. *
  8. * Each action is defined in its own file.
  9. * @see https://drupal.org/node/2052067
  10. */
  11. /**
  12. * Implements hook_action_info().
  13. */
  14. function workflow_vbo_action_info() {
  15. $actions = array();
  16. $path = drupal_get_path('module', 'workflow_vbo') . '/actions/';
  17. include_once $path . 'given.action.inc';
  18. include_once $path . 'next.action.inc';
  19. $actions += workflow_vbo_given_action_info();
  20. $actions += workflow_vbo_next_action_info();
  21. return $actions;
  22. }