You are here

function workbench_moderation_state_published in Workbench Moderation 7

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

Returns the key which represents the live revision.

@TODO: make this configurable.

20 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
WorkbenchModerationPublishFromNodeFormTestCase::testPublishFromNodeForm in tests/workbench_moderation.test

... See full list

File

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

Code

function workbench_moderation_state_published() {
  return 'published';
}