You are here

function globallink_beans_receive_submissions in GlobalLink Connect for Drupal 7.6

Builds forms on beans receive dashboard.

Parameters

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

Return value

array Array of forms for the entity receive dashboard.

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

File

globallink_beans/globallink_beans_receive.inc, line 17

Code

function globallink_beans_receive_submissions($type) {
  $_SESSION['globallink_beans_receive_type'] = $type;
  $arr = array();
  $arr[] = drupal_get_form('globallink_beans_receive_filter_form');
  $arr[] = drupal_get_form('globallink_beans_receive_pager_form');
  $arr[] = drupal_get_form('globallink_beans_receive_form');
  return $arr;
}