function BlockContentRevisionsTest::setUp
Same name in this branch
- 10 core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php \Drupal\Tests\block_content\Functional\BlockContentRevisionsTest::setUp()
Same name in other branches
- 9 core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php \Drupal\Tests\block_content\Functional\BlockContentRevisionsTest::setUp()
- 8.9.x core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php \Drupal\Tests\block_content\Functional\BlockContentRevisionsTest::setUp()
- 11.x core/modules/block_content/tests/src/Kernel/BlockContentRevisionsTest.php \Drupal\Tests\block_content\Kernel\BlockContentRevisionsTest::setUp()
- 11.x core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php \Drupal\Tests\block_content\Functional\BlockContentRevisionsTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ block_content/ tests/ src/ Kernel/ BlockContentRevisionsTest.php, line 31
Class
- BlockContentRevisionsTest
- Tests revision based functions for Block Content.
Namespace
Drupal\Tests\block_content\KernelCode
public function setUp() : void {
parent::setUp();
$this->installEntitySchema('user');
$this->installEntitySchema('block_content');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.