You are here

function workbench_access_enable in Workbench Access 7

Implements hook_enable().

Check the module configuration requirements.

File

./workbench_access.install, line 146
Install file for Workbench Access.

Code

function workbench_access_enable() {

  // If Workbench Access has not been configured, direct the user to configuration.
  if (!variable_get('workbench_access', FALSE)) {
    $message = workbench_access_configuration_needed_message();
    drupal_set_message($message, 'warning', $repeat = FALSE);
  }
}