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

The module handler service.

Type: \Drupal\Core\Extension\ModuleHandlerInterface

File

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

Class

EntityForm
Base class for entity forms.

Namespace

Drupal\Core\Entity

Code

protected $moduleHandler;