function globallink_dashboard_page in GlobalLink Connect for Drupal 7.6
Same name and namespace in other branches
- 7.7 globallink_send_translations.inc \globallink_dashboard_page()
- 7.5 globallink_send_translations.inc \globallink_dashboard_page()
Builds forms on GlobalLink send dashboard.
Parameters
string $type: The type of task we are working on.
Return value
array Array of forms for the GlobalLink send dashboard.
1 string reference to 'globallink_dashboard_page'
- globallink_menu in ./
globallink.module - Implements hook_menu().
File
- ./
globallink_send_translations.inc, line 16
Code
function globallink_dashboard_page($type) {
$_SESSION['globallink_selected_type'] = $type;
$array = array();
$array[] = drupal_get_form('globallink_dashboard_node_filter_form');
$array[] = drupal_get_form('globallink_dashboard_pager_form');
$array[] = drupal_get_form('globallink_dashboard_node_form');
return $array;
}