function globallink_fieldable_panels_dashboard in GlobalLink Connect for Drupal 7.6
Same name and namespace in other branches
- 7.7 globallink_fieldable_panels/globallink_fieldable_panels_send.inc \globallink_fieldable_panels_dashboard()
- 7.5 globallink_fieldable_panels/globallink_fieldable_panels_send.inc \globallink_fieldable_panels_dashboard()
Builds forms on fieldable panels send dashboard.
Parameters
string $type: The type of task we are working on.
Return value
array Array of forms for the fieldable panels send dashboard.
1 string reference to 'globallink_fieldable_panels_dashboard'
- globallink_fieldable_panels_menu in globallink_fieldable_panels/
globallink_fieldable_panels.module - Implements hook_menu().
File
- globallink_fieldable_panels/
globallink_fieldable_panels_send.inc, line 12
Code
function globallink_fieldable_panels_dashboard($type) {
$_SESSION['globallink_selected_type'] = $type;
$array = array();
$array[] = drupal_get_form('globallink_fieldable_panels_dashboard_filter_form');
$array[] = drupal_get_form('globallink_fieldable_panels_dashboard_pager_form');
$array[] = drupal_get_form('globallink_fieldable_panels_dashboard_form');
return $array;
}