| 1 |
<?php |
<?php |
| 2 |
// $Id: workflow_access.module,v 1.1.2.1 2007/04/26 16:02:17 mfredrickson Exp $ |
// $Id: workflow_access.module,v 1.2 2008/04/02 16:44:07 jvandyk Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 86 |
* Add a "three dimensional" (state, role, permission type) configuration |
* Add a "three dimensional" (state, role, permission type) configuration |
| 87 |
* interface to the workflow edit form. |
* interface to the workflow edit form. |
| 88 |
*/ |
*/ |
| 89 |
function workflow_access_form_alter($form_id, &$form) { |
function workflow_access_form_alter(&$form, $form_state, $form_id) { |
| 90 |
// We only work with the workflow edit form. |
// We only work with the workflow edit form. |
| 91 |
if ($form_id != 'workflow_edit_form') { |
if ($form_id != 'workflow_edit_form') { |
| 92 |
return; |
return; |