protected function DisplayPageTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Tests/Plugin/DisplayPageTest.php \Drupal\views\Tests\Plugin\DisplayPageTest::setUp()
Parameters
bool $import_test_views: Should the views specififed on the test class be imported. If you need to setup some additional stuff, like fields, you need to call false and then call createTestViews for your own.
Overrides ViewKernelTestBase::setUp
File
- core/
modules/ views/ src/ Tests/ Plugin/ DisplayPageTest.php, line 49 - Contains \Drupal\views\Tests\Plugin\DisplayPageTest.
Class
- DisplayPageTest
- Tests the page display plugin.
Namespace
Drupal\views\Tests\PluginCode
protected function setUp() {
parent::setUp();
// Setup the needed tables in order to make the drupal router working.
$this
->installSchema('system', array(
'url_alias',
));
}