function EntityBundleEntityTest::setUp
Overrides EntityKernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityBundleEntityTest.php, line 29
Class
- EntityBundleEntityTest
- Tests the getBundleEntity() method.
Namespace
Drupal\KernelTests\Core\EntityCode
protected function setUp() : void {
parent::setUp();
$this->installEntitySchema('entity_test');
$this->installEntitySchema('entity_test_with_bundle');
$this->installEntitySchema('entity_test_no_bundle_with_label');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.