You are here

function globallink_block_dashboard in GlobalLink Connect for Drupal 7.6

Same name and namespace in other branches
  1. 7.7 globallink_block/globallink_block_send.inc \globallink_block_dashboard()
  2. 7.5 globallink_block/globallink_block_send.inc \globallink_block_dashboard()

Builds forms on block send dashboard.

Parameters

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

Return value

array Array of forms for the block send dashboard.

1 string reference to 'globallink_block_dashboard'
globallink_block_menu in globallink_block/globallink_block.module
Implements hook_menu().

File

globallink_block/globallink_block_send.inc, line 12

Code

function globallink_block_dashboard($type) {
  $_SESSION['globallink_selected_type'] = $type;
  $array = array();
  $array[] = drupal_get_form('globallink_block_dashboard_filter_form');
  $array[] = drupal_get_form('globallink_block_dashboard_pager_form');
  $array[] = drupal_get_form('globallink_block_dashboard_form');
  return $array;
}