You are here

function _signup_get_admin_list_view in Signup 6

Same name and namespace in other branches
  1. 6.2 signup.module \_signup_get_admin_list_view()
  2. 7 signup.module \_signup_get_admin_list_view()

Private helper function to return the 'signup_admin_list_view' variable.

This has special logic to provide a different default depending on if Views bulk operations (VBO) is enabled or not.

2 calls to _signup_get_admin_list_view()
signup_node_admin_page in includes/node_admin.inc
Print the signup administration tab for a single node.
signup_settings_form in includes/admin.settings.inc
Form builder for the settings page under admin/setttings/signup

File

./signup.module, line 1686
The Signup module (http://drupal.org/project/signup) manages replies to nodes. In particular, it's good for event management. Signup supports sending reminder emails and automatically closing signups for nodes with a start time, via the Event…

Code

function _signup_get_admin_list_view() {
  $default = module_exists('views_bulk_operations') ? 'signup_user_vbo_admin_list:default' : 'signup_user_admin_list:default';
  return variable_get('signup_admin_list_view', $default);
}