ConfigFieldMapperTest::$entity

Same name in other branches
  1. 8.9.x core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php \Drupal\Tests\config_translation\Unit\ConfigFieldMapperTest::entity
  2. 10 core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php \Drupal\Tests\config_translation\Unit\ConfigFieldMapperTest::entity
  3. 11.x core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php \Drupal\Tests\config_translation\Unit\ConfigFieldMapperTest::entity

The field config instance used for testing.

Type: \Drupal\field\FieldConfigInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php, line 29

Class

ConfigFieldMapperTest
Tests the functionality provided by the configuration field mapper.

Namespace

Drupal\Tests\config_translation\Unit

Code

protected $entity;

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