You are here

function acquia_lift_goal_rename_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_rename_modal_callback()

Page callback to generate a goal rename modal window.

Parameters

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

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

File

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

Code

function acquia_lift_goal_rename_modal_callback($action_name) {
  $action = visitor_actions_custom_load($action_name);
  acquia_lift_create_ctools_form(t('Rename goal'), 'acquia_lift_goal_rename_form', array(
    'action' => $action,
  ), 'acquia_lift_goal_rename_complete_callback');
}