Skip to content

Instantly share code, notes, and snippets.

@ElijahLynn
Created June 12, 2013 16:49
Show Gist options
  • Save ElijahLynn/5767073 to your computer and use it in GitHub Desktop.
Save ElijahLynn/5767073 to your computer and use it in GitHub Desktop.
test
tions[] = l(t('Delete'), 'node/' . $node->nid . '/revisions/' . $vid . '/delete');
}
foreach ($state_events as $event_machine_name => $event) {
if (state_flow_access($state_node, $event_machine_name)) {
$state_actions[] = l($event->get_option('label'), 'node/' . $node->nid . '/revisions/' . $vid . '/workflow/' . $event_machine_name) . ' ';
}
}
$state_actions_str = implode(' | ', $state_actions);
$item = array(
l($vid, $path_view),
l(check_plain($state_node->title
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment