You are here

function workbench_access_sections_needed_message in Workbench Access 7

Return text directing admins to section configuration.

3 calls to workbench_access_sections_needed_message()
workbench_access_node_form_element in ./workbench_access.module
Provides a module-specific form for access control.
workbench_access_requirements in ./workbench_access.install
Implements hook_requirements() to check if workbench_access is configured.
workbench_access_section_form_submit in ./workbench_access.admin.inc
Save the active section definitions.

File

./workbench_access.module, line 1658
Workbench Access module file.

Code

function workbench_access_sections_needed_message() {
  return t('There are no active <a href="!url">editorial sections</a> for Workbench Access. Editorial access control will not be enforced.', array(
    '!url' => url('admin/config/workbench/access/sections'),
  ));
}