ConfigEntityMapperTest::$entity

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

The entity instance used for testing.

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

File

core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php, line 36

Class

ConfigEntityMapperTest
Tests the functionality provided by the configuration entity 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.