1 views_ui.admin.inc views_ui_break_lock_confirm_submit(&$form, &$form_state)

Submit handler to break_lock a view.

File

core/modules/views_ui/views_ui.admin.inc, line 917
Provides the Views' administrative interface.

Code

function views_ui_break_lock_confirm_submit(&$form, &$form_state) {
  tempstore_clear('views.view', $form_state['view']->name);
  $form_state['redirect'] = 'admin/structure/views/view/' . $form_state['view']->name . '/configure';
  backdrop_set_message(t('The lock has been broken and you may now configure this view.'));
}