protected function StyleTableUnitTest::prepareView in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Tests/Plugin/StyleTableUnitTest.php \Drupal\views\Tests\Plugin\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()
- StyleTableUnitTest::testTable in core/
modules/ views/ src/ Tests/ Plugin/ StyleTableUnitTest.php - Tests the table style.
File
- core/
modules/ views/ src/ Tests/ Plugin/ StyleTableUnitTest.php, line 154 - Contains \Drupal\views\Tests\Plugin\StyleTableUnitTest.
Class
- StyleTableUnitTest
- Tests the table style plugin.
Namespace
Drupal\views\Tests\PluginCode
protected function prepareView(ViewExecutable $view) {
$view
->setDisplay();
$view
->initStyle();
$view
->initHandlers();
$view
->initQuery();
}