protected function StyleTableUnitTest::prepareView

Prepares a view executable by initializing everything which is needed.

Parameters

\Drupal\views\ViewExecutable $view: The executable to prepare.

1 call to StyleTableUnitTest::prepareView()

File

drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTableUnitTest.php, line 154
Contains \Drupal\views\Tests\Plugin\StyleTableUnitTest.

Class

StyleTableUnitTest
Tests the table style plugin.

Namespace

Drupal\views\Tests\Plugin

Code

protected function prepareView(ViewExecutable $view) {
  $view
    ->setDisplay();
  $view
    ->initStyle();
  $view
    ->initHandlers();
  $view
    ->initQuery();
}