You are here

function workbench_moderation_state_none in Workbench Moderation 7

Same name and namespace in other branches
  1. 7.3 workbench_moderation.module \workbench_moderation_state_none()

Returns the key which represents the neutral non moderated revision.

@TODO: make this configurable.

10 calls to workbench_moderation_state_none()
WorkbenchModerationDraftTabTestCase::testDraftTab in tests/workbench_moderation.test
workbench_moderation_admin_states_form in ./workbench_moderation.admin.inc
Administration form for states.
workbench_moderation_form_node_form_alter in ./workbench_moderation.module
Implements hook_form_BASE_FORM_ID_alter().
workbench_moderation_help in ./workbench_moderation.module
Implements hook_help().
workbench_moderation_node_data in ./workbench_moderation.module
Adds current and live revision data to a node.

... See full list

File

./workbench_moderation.module, line 1004
Content moderation for Workbench.

Code

function workbench_moderation_state_none() {
  return 'draft';
}