Form constructor for the View deletion form.
\Drupal\views\ViewExectuable $view: The View being deleted.
views_ui_confirm_delete_submit()
function views_ui_confirm_delete($form, &$form_state, ViewExecutable $view) {
$form['view'] = array(
'#type' => 'value',
'#value' => $view,
);
return confirm_form($form, t('Are you sure you want to delete the %name view?', array(
'%name' => $view->storage
->getHumanName(),
)), 'admin/structure/views', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}