EntityConverter::$entityTypeManager

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/ParamConverter/EntityConverter.php \Drupal\Core\ParamConverter\EntityConverter::entityTypeManager
  2. 10 core/lib/Drupal/Core/ParamConverter/EntityConverter.php \Drupal\Core\ParamConverter\EntityConverter::entityTypeManager
  3. 11.x 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 90

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.