You are here

function workbench_moderation_state_published in Workbench Moderation 7.3

Same name and namespace in other branches
  1. 7 workbench_moderation.module \workbench_moderation_state_published()

Returns the key which represents the live revision.

@TODO: make this configurable.

24 calls to workbench_moderation_state_published()
hook_workbench_moderation_states_next_alter in ./workbench_moderation.api.php
Allows modules to alter the list of possible next states for a node.
WorkbenchModerationDraftTabTestCase::testDraftTab in tests/workbench_moderation.test
WorkbenchModerationFilesTestCase::testModeratedFileField in tests/workbench_moderation.files.test
WorkbenchModerationModerateTabTestCase::testModerateTab in tests/workbench_moderation.test
WorkbenchModerationNodeAccessTestCase::testNodeAccessRecords in tests/workbench_moderation.node_access.test
Creates a node and tests the creation of node access rules.

... See full list

File

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

Code

function workbench_moderation_state_published() {
  return 'published';
}