EntityReferenceFieldTest::$bundle

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php \Drupal\KernelTests\Core\Entity\EntityReferenceFieldTest::bundle
  2. 10 core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php \Drupal\KernelTests\Core\Entity\EntityReferenceFieldTest::bundle
  3. 11.x core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php \Drupal\KernelTests\Core\Entity\EntityReferenceFieldTest::bundle

The bundle used in this test.

Type: string

File

core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php, line 48

Class

EntityReferenceFieldTest
Tests for the entity reference field.

Namespace

Drupal\KernelTests\Core\Entity

Code

protected $bundle = 'entity_test';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.