You are here

function acquia_lift_element_variation_delete_modal_callback in Acquia Lift Connector 7.2

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

Page callback to generate an element variation delete confirm modal window.

Parameters

string $osid: The stringified option set id

string $option_id: The id of the option to be deleted.

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

File

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

Code

function acquia_lift_element_variation_delete_modal_callback($osid, $option_id) {
  acquia_lift_create_ctools_form(t('Delete variation'), 'acquia_lift_element_variation_delete_form', array(
    'osid' => personalize_resolve_stringified_osid($osid),
    'option_id' => $option_id,
  ), 'acquia_lift_element_variation_delete_complete_callback');
}