You are here

protected property EntityReferenceItemTest::$term in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field/src/Tests/EntityReference/EntityReferenceItemTest.php \Drupal\field\Tests\EntityReference\EntityReferenceItemTest::term

The taxonomy term to test with.

Type: \Drupal\taxonomy\TermInterface

File

core/modules/field/src/Tests/EntityReference/EntityReferenceItemTest.php, line 57
Contains \Drupal\field\Tests\EntityReference\EntityReferenceItemTest.

Class

EntityReferenceItemTest
Tests the new entity API for the entity reference field type.

Namespace

Drupal\field\Tests\EntityReference

Code

protected $term;