ViewsTestEntity::$mockedBaseFieldDefinitions

Same name in other branches
  1. 10 core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php \Drupal\Tests\views\Kernel\Entity\ViewsTestEntity::mockedBaseFieldDefinitions
  2. 11.x core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php \Drupal\Tests\views\Kernel\Entity\ViewsTestEntity::mockedBaseFieldDefinitions

The mocked base fields for test entity types.

An array keyed by entity type ID, whose values are arrays of base field definitions.

Type: array

File

core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php, line 841

Class

ViewsTestEntity
Generic entity class for our test entity types.

Namespace

Drupal\Tests\views\Kernel\Entity

Code

protected static $mockedBaseFieldDefinitions = [];

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