You are here

function acquia_lift_goal_delete_modal_callback in Acquia Lift Connector 7

Same name and namespace in other branches
  1. 7.2 acquia_lift.admin.unibar.inc \acquia_lift_goal_delete_modal_callback()

Page callback to generate a goal delete confirm modal window.

Parameters

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

string $action_name: The machine name for the visitor action for the goal.

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

File

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

Code

function acquia_lift_goal_delete_modal_callback($agent_name, $action_name) {
  acquia_lift_create_ctools_form(t('Delete goal'), 'acquia_lift_goal_delete_form', array(
    'agent_name' => $agent_name,
    'action_name' => $action_name,
  ), 'acquia_lift_goal_delete_complete_callback');
}