Page callback for rendering the preview form and the preview of the view.
\Drupal\views_ui\ViewUI $view: The view UI object to preview.
string $display_id: The display ID to preview.
array The form array of the full preview form.
function views_ui_build_preview(ViewUI $view, $display_id) {
$view->displayID = $display_id;
return entity_get_form($view, 'preview');
}