You are here

function ds_extras_vd_bundle_remove in Display Suite 7

Same name and namespace in other branches
  1. 7.2 modules/ds_extras/includes/ds_extras.vd.inc \ds_extras_vd_bundle_remove()

Return confirm form to remove a views bundle

1 string reference to 'ds_extras_vd_bundle_remove'
ds_extras_vd_manage in modules/ds_extras/ds_extras.vd.inc
Edit the display or remove a views display.

File

modules/ds_extras/ds_extras.vd.inc, line 240
Views displays functions.

Code

function ds_extras_vd_bundle_remove($form, $form_state, $bundle, $label) {
  $form['#bundle'] = $bundle;
  $form['#label'] = $label;
  return confirm_form($form, t('Are you sure you want to remove bundle @label ?', array(
    '@label' => $label,
  )), 'admin/structure/ds/vd');
}