You are here

public function YamlFormPluginElementController::__construct in YAML Form 8

Constructs a YamlFormPluginBaseController object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\Render\ElementInfoManagerInterface $element_info: A element info plugin manager.

\Drupal\yamlform\YamlFormElementManagerInterface $element_manager: A form element plugin manager.

File

src/Controller/YamlFormPluginElementController.php, line 51

Class

YamlFormPluginElementController
Controller for all form elements.

Namespace

Drupal\yamlform\Controller

Code

public function __construct(ModuleHandlerInterface $module_handler, ElementInfoManagerInterface $element_info, YamlFormElementManagerInterface $element_manager) {
  $this->moduleHandler = $module_handler;
  $this->elementInfo = $element_info;
  $this->elementManager = $element_manager;
}