DisplayApiTest::$entity

The test entity.

Type: \Drupal\Core\Entity\EntityInterface

File

core/modules/field/tests/src/Kernel/DisplayApiTest.php, line 53

Class

DisplayApiTest
Tests the field display API.

Namespace

Drupal\Tests\field\Kernel

Code

protected $entity;

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