You are here

function globallink_block_receive_submissions in GlobalLink Connect for Drupal 7.6

Same name and namespace in other branches
  1. 7.5 globallink_block/globallink_block_receive.inc \globallink_block_receive_submissions()

Builds forms on block receive dashboard.

Parameters

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

Return value

array Array of forms for the block receive dashboard.

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

File

globallink_block/globallink_block_receive.inc, line 12

Code

function globallink_block_receive_submissions($type) {
  $_SESSION['transpefect_block_receive_type'] = $type;
  $arr = array();
  $arr[] = drupal_get_form('globallink_block_receive_filter_form');
  $arr[] = drupal_get_form('globallink_block_receive_pager_form');
  $arr[] = drupal_get_form('globallink_block_receive_form');
  return $arr;
}