EntityConverter::$entityTypeManager

Same name in other branches
  1. 9 core/lib/Drupal/Core/ParamConverter/EntityConverter.php \Drupal\Core\ParamConverter\EntityConverter::entityTypeManager
  2. 8.9.x core/lib/Drupal/Core/ParamConverter/EntityConverter.php \Drupal\Core\ParamConverter\EntityConverter::entityTypeManager
  3. 10 core/lib/Drupal/Core/ParamConverter/EntityConverter.php \Drupal\Core\ParamConverter\EntityConverter::entityTypeManager

Entity type manager which performs the upcasting in the end.

Type: \Drupal\Core\Entity\EntityTypeManagerInterface

File

core/lib/Drupal/Core/ParamConverter/EntityConverter.php, line 88

Class

EntityConverter
Parameter converter for upcasting entity IDs to full objects.

Namespace

Drupal\Core\ParamConverter

Code

protected $entityTypeManager;

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