protected function FrontPageTest::setUp in Drupal 9
Same name in this branch
- 9 core/modules/node/tests/src/Functional/Views/FrontPageTest.php \Drupal\Tests\node\Functional\Views\FrontPageTest::setUp()
- 9 core/modules/system/tests/src/Functional/System/FrontPageTest.php \Drupal\Tests\system\Functional\System\FrontPageTest::setUp()
Same name and namespace in other branches
- 8 core/modules/node/tests/src/Functional/Views/FrontPageTest.php \Drupal\Tests\node\Functional\Views\FrontPageTest::setUp()
- 10 core/modules/node/tests/src/Functional/Views/FrontPageTest.php \Drupal\Tests\node\Functional\Views\FrontPageTest::setUp()
Overrides ViewTestBase::setUp
File
- core/
modules/ node/ tests/ src/ Functional/ Views/ FrontPageTest.php, line 51
Class
- FrontPageTest
- Tests the default frontpage provided by views.
Namespace
Drupal\Tests\node\Functional\ViewsCode
protected function setUp($import_test_views = TRUE) : void {
parent::setUp($import_test_views);
$this->nodeStorage = $this->container
->get('entity_type.manager')
->getStorage('node');
}