You are here

function globallink_all_active_submissions in GlobalLink Connect for Drupal 7.7

Builds forms on entity active submissions dashboard.

Parameters

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

Return value

array Array of forms for the entity active submissions dashboard.

File

./globallink_workbench_all_active_submissions.inc, line 91

Code

function globallink_all_active_submissions($type) {
  $_SESSION['transpefect_all_active_type'] = $type;
  $_SESSION['transpefect_entity_receive_type'] = $type;
  $array = array();
  $array[] = drupal_get_form('globallink_all_active_filter_form');
  $array[] = drupal_get_form('globallink_all_active_pager_form');

  //$array[] = drupal_get_form('globallink_upload_translation_all_form');
  $array[] = drupal_get_form('globallink_all_active_form');
  return $array;
}