You are here

function page_manager_handler_delete_submit in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 page_manager/page_manager.admin.inc \page_manager_handler_delete_submit()

Submit handler to delete a view.

File

page_manager/page_manager.admin.inc, line 1644
Administrative functions for the page manager.

Code

function page_manager_handler_delete_submit(&$form, &$form_state) {
  $form_state['page']->handler_info[$form_state['handler_id']]['changed'] |= PAGE_MANAGER_CHANGED_DELETED;
  $form_state['new trail'] = array(
    'summary',
  );
}