workflowfield.module 724 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * @file
  4. * Supports workflows made up of arbitrary states.
  5. */
  6. // The name of the Workfow form and function, to be used in various callbacks.
  7. define('WORKFLOWFIELD_FORM', 'workflowfield_field_widget_form');
  8. require_once dirname(__FILE__) . '/workflowfield.field.inc';
  9. require_once dirname(__FILE__) . '/workflowfield.widget.inc';
  10. require_once dirname(__FILE__) . '/workflowfield.formatter.inc';
  11. /**
  12. * Implements hook_help().
  13. */
  14. function workflowfield_help($path, $arg) {
  15. switch ($path) {
  16. case WORKFLOW_ADMIN_UI_PATH:
  17. return t('This page allows you to maintain Workflows. Once a workflow is
  18. created, you can maintain your entity type and add a Field of type
  19. \'Workflow\'.');
  20. }
  21. }