function globallink_beans_dashboard in GlobalLink Connect for Drupal 7.6
Same name and namespace in other branches
- 7.7 globallink_beans/globallink_beans_send.inc \globallink_beans_dashboard()
Builds forms on beans send dashboard.
Parameters
string $type: The type of task we are working on.
Return value
array Array of forms for the beans send dashboard.
1 string reference to 'globallink_beans_dashboard'
- globallink_beans_menu in globallink_beans/
globallink_beans.module - Implements hook_menu().
File
- globallink_beans/
globallink_beans_send.inc, line 17
Code
function globallink_beans_dashboard($type) {
$_SESSION['globallink_selected_type'] = $type;
$array = array();
$array[] = drupal_get_form('globallink_beans_dashboard_filter_form');
$array[] = drupal_get_form('globallink_beans_dashboard_pager_form');
$array[] = drupal_get_form('globallink_beans_dashboard_form');
return $array;
}