You are here

function globallink_beans_active_submissions in GlobalLink Connect for Drupal 7.6

Builds forms on beans active submissions dashboard.

Parameters

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

Return value

array Array of forms for the beans active submissions dashboard.

1 string reference to 'globallink_beans_active_submissions'
globallink_beans_menu in globallink_beans/globallink_beans.module
Implements hook_menu().

File

globallink_beans/globallink_beans_active_submissions.inc, line 18

Code

function globallink_beans_active_submissions($type) {
  $_SESSION['globallink_beans_active_type'] = $type;
  $array = array();
  $array[] = drupal_get_form('globallink_beans_active_select_form');
  $array[] = drupal_get_form('globallink_beans_active_pager_form');
  $array[] = drupal_get_form('globallink_beans_active_form');
  return $array;
}