You are here

function acquia_lift_campaign_start_modal_callback in Acquia Lift Connector 7

Page callback to generate a start campaign screen.

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

File

./acquia_lift.admin.unibar.inc, line 1530
acquia_lift.admin.unibar.inc

Code

function acquia_lift_campaign_start_modal_callback($agent_name) {
  $agent_data = personalize_agent_load($agent_name);
  acquia_lift_create_ctools_form(t('Start campaign %campaign', array(
    '%campaign' => $agent_data->label,
  )), 'acquia_lift_campaign_start_form', array(
    'agent_data' => $agent_data,
  ), 'acquia_lift_campaign_start_complete_callback');
}