function EntityUnitTest::testBundle
Same name and namespace in other branches
- 10 core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php \Drupal\Tests\Core\Entity\EntityUnitTest::testBundle()
- 9 core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php \Drupal\Tests\Core\Entity\EntityUnitTest::testBundle()
- 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php \Drupal\Tests\Core\Entity\EntityUnitTest::testBundle()
Tests bundle.
@legacy-covers ::bundle
File
-
core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUnitTest.php, line 186
Class
Namespace
Drupal\Tests\Core\EntityCode
public function testBundle() : void {
$this->assertSame($this->entityTypeId, $this->entity
->bundle());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.