You are here

workflowfield.module in Workflow 7.2

Same filename and directory in other branches
  1. 7 workflow_field/workflowfield.module

Supports workflows made up of arbitrary states.

File

workflow_field/workflowfield.module
View source
<?php

/**
 * @file
 * Supports workflows made up of arbitrary states.
 */

// The name of the Workfow form and function, to be used in various callbacks.
define('WORKFLOWFIELD_FORM', 'workflowfield_field_widget_form');
require_once dirname(__FILE__) . '/workflowfield.field.inc';
require_once dirname(__FILE__) . '/workflowfield.widget.inc';
require_once dirname(__FILE__) . '/workflowfield.formatter.inc';

/**
 * Implements hook_help().
 */
function workflowfield_help($path, $arg) {
  switch ($path) {
    case WORKFLOW_ADMIN_UI_PATH:
      return t('This page allows you to maintain Workflows. Once a workflow is
        created, you can maintain your entity type and add a Field of type
        \'Workflow\'.');
  }
}

Functions

Namesort descending Description
workflowfield_help Implements hook_help().

Constants

Namesort descending Description
WORKFLOWFIELD_FORM