You are here

function acquia_lift_page_variation_delete_modal_callback in Acquia Lift Connector 7

Page callback to generate a page variation delete confirm modal window.

Parameters

string $agent_name: The name of the campaign to edit.

string $variation_index: The index of the variation to rename.

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

File

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

Code

function acquia_lift_page_variation_delete_modal_callback($agent_name, $variation_index) {
  acquia_lift_create_ctools_form(t('Delete variation'), 'acquia_lift_page_variation_delete_form', array(
    'agent_name' => $agent_name,
    'variation_index' => $variation_index,
  ), 'acquia_lift_page_variation_delete_complete_callback');
}