You are here

function acquia_lift_report_wizard in Acquia Lift Connector 7.2

Menu callback for a report to be displayed within the wizard.

Parameters

$agent_data: The loaded agent to show a report for.

Return value

array A render array for the report page.

1 string reference to 'acquia_lift_report_wizard'
acquia_lift_menu in ./acquia_lift.module
Implements hook_menu().

File

./acquia_lift.admin.inc, line 666
acquia_lift.admin.inc Provides functions needed for the admin UI.

Code

function acquia_lift_report_wizard($agent_data) {
  module_load_include('inc', 'personalize', 'personalize.admin.campaign');
  $build = array(
    'wizard' => drupal_get_form('personalize_campaign_wizard', $agent_data, 'results'),
    'report' => drupal_get_form('acquia_lift_report', $agent_data),
  );
  return $build;
}