function workspace_user_config_get_defaults in Workspace 7
3 calls to workspace_user_config_get_defaults()
- workspace_configure_form in ./
workspace.module - Form definition for per-user configuration form.
- workspace_list_comments in ./
workspace.module - Menu callback. Display list of comments.
- workspace_list_content in ./
workspace.module - Menu callback. Display list of content.
File
- ./
workspace.module, line 852 - Presents a user-centric view of content.
Code
function workspace_user_config_get_defaults() {
$workspace = array();
$workspace['maxnodes'] = 50;
$workspace['maxfilenames'] = 50;
if (module_exists('comment')) {
$workspace['maxcomments'] = 50;
}
return $workspace;
}