1 views_query.test protected ViewsSqlTest::getBasicPageView()

Build and return a Page view of the views_test table.

Return value

view:

File

core/modules/views/tests/views_query.test, line 439
Tests for Views query features.

Class

ViewsSqlTest

Code

protected function getBasicPageView() {
  $view = $this->getBasicView();

  // In order to test exposed filters, we have to disable
  // the exposed forms cache.
  backdrop_static_reset('views_exposed_form_cache');

  $display = $view->new_display('page', 'Page', 'page_1');
  return $view;
}