function state_flow_entity_menu in State Machine 7.3
Implements hook_menu().
File
- modules/
state_flow_entity/ state_flow_entity.module, line 394 - An implementation of entity workflow for Drupal based on the State Machine system.
Code
function state_flow_entity_menu() {
$items = array();
$items['admin/config/workflow/state-flow-history-entity'] = array(
'title' => 'State Flow History Entities',
// @todo make more descriptive once this path does something.
'description' => 'Add fields to State Flow History Entities.',
'page callback' => 'state_flow_entity_history_entity_admin',
'access arguments' => array(
'manage content workflow',
),
);
// @todo, this path might list bundles for state-flow-history-entities.
// If it does not not, use an argument other than /list.
$items['admin/config/workflow/state-flow-history-entity/list'] = array(
'title' => 'List',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10,
);
return $items;
}