function theme_workspace_list in Workspace 7
Same name and namespace in other branches
- 6 workspace.module \theme_workspace_list()
Theme the list of content. Turn the results into a table.
2 theme calls to theme_workspace_list()
- 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 915 - Presents a user-centric view of content.
Code
function theme_workspace_list($variables) {
$header = $variables['header'];
$rows = $variables['rows'];
$build['workspace_list'] = array(
'#theme' => 'table',
'#header' => $header,
'#rows' => $rows,
'#empty' => t('Your workspace is currently empty.'),
);
$build['workspace_pager'] = array(
'#theme' => 'pager',
);
$output = render($build);
return $output;
}