ViewsTestEntity::$mockedBaseFieldDefinitions

Same name and namespace in other branches
  1. 9 core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php \Drupal\Tests\views\Kernel\Entity\ViewsTestEntity::mockedBaseFieldDefinitions
  2. 10 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 846

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.