You are here

workbench_access_test.module in Workbench Access 7

Test module for Workbench Access.

File

tests/workbench_access_test.module
View source
<?php

/**
 * @file
 * Test module for Workbench Access.
 */

/**
 * Implements hook_workbench_access_node_element_alter().
 */
function workbench_access_test_workbench_access_node_element_alter(&$element, $form_state, $active) {
  $element['#workbench_access_test'] = TRUE;
}