function state_flow_get_all_state_options in State Machine 7.3
Get all of the states for all content types as option list array.
1 string reference to 'state_flow_get_all_state_options'
- state_flow_entity_rules_condition_info in modules/
state_flow_entity/ state_flow_entity.rules.inc - Implements hook_rules_condition_info().
File
- modules/
state_flow/ state_flow.module, line 440 - An implementation of node revision workflow for Drupal based on the State Machine system.
Code
function state_flow_get_all_state_options() {
$states = state_flow_get_all_states();
array_walk($states, function (&$item) {
$item = $item['label'];
});
return $states;
}