function acquia_lift_target_complete_audience_modal_callback in Acquia Lift Connector 7.2
Page callback to show the form to stop a test for a particular audience in a CTools modal window.
Parameters
stdClass $agent_data: The data for the campaign.
string $audience_id: The id of the audience to complete.
1 string reference to 'acquia_lift_target_complete_audience_modal_callback'
- acquia_lift_menu in ./
acquia_lift.module - Implements hook_menu().
File
- ./
acquia_lift.admin.inc, line 2295 - acquia_lift.admin.inc Provides functions needed for the admin UI.
Code
function acquia_lift_target_complete_audience_modal_callback($agent_data, $audience_id) {
module_load_include('inc', 'acquia_lift', 'acquia_lift.admin.unibar');
acquia_lift_create_ctools_form(t('Choose test winner'), 'acquia_lift_target_complete_audience_form', array(
'agent_data' => $agent_data,
'audience_id' => $audience_id,
), 'acquia_lift_target_complete_audience_complete_callback');
}