function acquia_lift_command_page_variation_toggle in Acquia Lift Connector 7
Returns an AJAX command to toggle the page variation element selector.
Parameters
bool $start: True to start the page variation mode, FALSE to stop it.
2 calls to acquia_lift_command_page_variation_toggle()
- acquia_lift_campaign_type_create_complete_callback in ./
acquia_lift.admin.unibar.inc - Ctools form processing complete handler for the creation of a new campaign by type.
- 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 2859 - acquia_lift.module Provides Acquia Lift-specific personalization functionality.
Code
function acquia_lift_command_page_variation_toggle($start = TRUE) {
return array(
'command' => 'acquia_lift_variation_toggle',
'data' => array(
'start' => $start,
'type' => 'page',
),
);
}