You are here

function views_deploy_delete_form_submit in Deploy - Content Staging 6

Submit handler for the Views delete form.

1 string reference to 'views_deploy_delete_form_submit'
views_deploy_form_alter in modules/views_deploy/views_deploy.module
Implementation of hook_form_alter().

File

modules/views_deploy/views_deploy.module, line 66
Deployment API which enables modules to deploy items between servers.

Code

function views_deploy_delete_form_submit($form, &$form_state) {

  // Remove the deleted view from all plans.
  deploy_plan_item_delete(array(
    'module' => 'views',
    'data' => $form_state['view']->name,
  ));
}