function RevisionViewTest::setUp
Same name in this branch
- main core/tests/Drupal/FunctionalTests/Entity/RevisionViewTest.php \Drupal\FunctionalTests\Entity\RevisionViewTest::setUp()
Same name and namespace in other branches
- 11.x core/tests/Drupal/FunctionalTests/Entity/RevisionViewTest.php \Drupal\FunctionalTests\Entity\RevisionViewTest::setUp()
- 10 core/tests/Drupal/FunctionalTests/Entity/RevisionViewTest.php \Drupal\FunctionalTests\Entity\RevisionViewTest::setUp()
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Entity/ RevisionViewTest.php, line 46
Class
- RevisionViewTest
- Tests revision view page.
Namespace
Drupal\KernelTests\Core\EntityCode
protected function setUp() : void {
parent::setUp();
$this->installConfig('system');
$this->installEntitySchema('entity_test_rev');
$this->installEntitySchema('entity_test_revlog');
\Drupal::service(ThemeInstallerInterface::class)->install([
'stark',
]);
$this->drupalPlaceBlock('page_title_block');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.