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

The module handler.

Type: \Drupal\Core\Extension\ModuleHandlerInterface

File

core/lib/Drupal/Core/Form/FormBuilder.php, line 38

Class

FormBuilder
Provides form building and processing.

Namespace

Drupal\Core\Form

Code

protected $moduleHandler;