You are here

function globallink_interface_dashboard_page in GlobalLink Connect for Drupal 7.6

Same name and namespace in other branches
  1. 7.7 globallink_interface/globallink_interface_send.inc \globallink_interface_dashboard_page()
  2. 7.5 globallink_interface/globallink_interface_send.inc \globallink_interface_dashboard_page()

Builds forms on interface send dashboard.

Parameters

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

Return value

array Array of forms for the interface send dashboard.

1 string reference to 'globallink_interface_dashboard_page'
globallink_interface_menu in globallink_interface/globallink_interface.module
Implements hook_menu().

File

globallink_interface/globallink_interface_send.inc, line 12

Code

function globallink_interface_dashboard_page($type) {
  $_SESSION['globallink_selected_type'] = $type;
  $array = array();
  $array[] = drupal_get_form('globallink_interface_dashboard_filter_form');
  $array[] = drupal_get_form('globallink_interface_dashboard_pager_form');
  $array[] = drupal_get_form('globallink_interface_dashboard_form');
  return $array;
}