EntityDisplayModeBaseUnitTest::$entityTypeManager

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php \Drupal\Tests\Core\Config\Entity\EntityDisplayModeBaseUnitTest::entityTypeManager
  2. 10 core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php \Drupal\Tests\Core\Config\Entity\EntityDisplayModeBaseUnitTest::entityTypeManager
  3. 9 core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php \Drupal\Tests\Core\Config\Entity\EntityDisplayModeBaseUnitTest::entityTypeManager
  4. 8.9.x core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php \Drupal\Tests\Core\Config\Entity\EntityDisplayModeBaseUnitTest::entityTypeManager

The entity type manager used for testing.

Could actually be EntityTypeManagerInterface&MockObject or EntityTypeManagerInterface&Stub.

@todo split the variable to allow proper type.

Type: \Drupal\Core\Entity\EntityTypeManagerInterface

File

core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php, line 45

Class

EntityDisplayModeBaseUnitTest
Tests Drupal\Core\Entity\EntityDisplayModeBase.

Namespace

Drupal\Tests\Core\Config\Entity

Code

protected EntityTypeManagerInterface $entityTypeManager;

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