You are here

function globallink_dashboard_receive_page in GlobalLink Connect for Drupal 7.6

Same name and namespace in other branches
  1. 7.5 globallink_receive_translations.inc \globallink_dashboard_receive_page()

Builds forms on GlobalLink receive dashboard.

Parameters

string $type: The type of task we are working on.

Return value

array Array of forms for the GlobalLink receive dashboard.

1 string reference to 'globallink_dashboard_receive_page'
globallink_menu in ./globallink.module
Implements hook_menu().

File

./globallink_receive_translations.inc, line 12

Code

function globallink_dashboard_receive_page($type) {
  $_SESSION['transpefect_dashboard_receive_type'] = $type;
  $array = array();
  $array[] = drupal_get_form('globallink_node_receive_filter_form');
  $array[] = drupal_get_form('globallink_node_receive_pager_form');
  $array[] = drupal_get_form('globallink_dashboard_receive');
  return $array;
}