EntityListBuilderTest::$entityType

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php \Drupal\Tests\Core\Entity\EntityListBuilderTest::entityType
  2. 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php \Drupal\Tests\Core\Entity\EntityListBuilderTest::entityType
  3. 10 core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php \Drupal\Tests\Core\Entity\EntityListBuilderTest::entityType

The entity type used for testing.

Type: \Drupal\Core\Entity\EntityTypeInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php, line 27

Class

EntityListBuilderTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Entity%21EntityListBuilder.php/class/EntityListBuilder/11.x" title="Defines a generic implementation to build a listing of entities." class="local">\Drupal\Core\Entity\EntityListBuilder</a> @group Entity

Namespace

Drupal\Tests\Core\Entity

Code

protected $entityType;

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