function acquia_lift_command_page_variation_preview in Acquia Lift Connector 7
Returns an AJAX command to preview a specific page variation.
Parameters
string $agent_name: The name of the campaign/agent to which the variation belongs.
int $variation_index: The index of the variation to preview.
1 call to acquia_lift_command_page_variation_preview()
- acquia_lift_element_variation_details_form_ajax_callback in ./
acquia_lift.admin.unibar.inc - Responds to AJAX submission of a variation type details page.
File
- ./
acquia_lift.module, line 2877 - acquia_lift.module Provides Acquia Lift-specific personalization functionality.
Code
function acquia_lift_command_page_variation_preview($agent_name, $variation_index) {
return array(
'command' => 'acquia_lift_page_variation_preview',
'data' => array(
'agentName' => $agent_name,
'variationIndex' => $variation_index,
),
);
}