You are here

function lingotek_get_workbench_moderation_states in Lingotek Translation 7.3

Same name and namespace in other branches
  1. 7.4 lingotek.api.inc \lingotek_get_workbench_moderation_states()
7 calls to lingotek_get_workbench_moderation_states()
lingotek_admin_content_defaults_form in ./lingotek.admin.inc
Content defaults Form
lingotek_admin_content_defaults_form_submit in ./lingotek.admin.inc
lingotek_form_node_form_alter in ./lingotek.module
Implements hook_form_BASE_FORM_ID_alter().
lingotek_get_workbench_moderation_transitions in ./lingotek.api.inc
lingotek_workbench_moderation_bulk_select in ./lingotek.sync.inc

... See full list

File

./lingotek.api.inc, line 302

Code

function lingotek_get_workbench_moderation_states() {
  $methods = array();
  $states = workbench_moderation_states();
  foreach ($states as $array) {
    $methods[$array->name] = $array->name;
  }
  return $methods;
}