Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::entityTypeManager
  2. 9 core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::entityTypeManager

The entity type manager.

Type: \Drupal\Core\Entity\EntityTypeManagerInterface

File

core/lib/Drupal/Core/Entity/EntityForm.php, line 41

Class

EntityForm
Base class for entity forms.

Namespace

Drupal\Core\Entity

Code

protected $entityTypeManager;